METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; com . IDENT_1 . IDENT_2 . IDENT_3 [ ] fields = new com . IDENT_1 . IDENT_2 . IDENT_3 [ 1 ] ; fields [ 0 ] = new com . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; fields [ 0 ] . setName ( STRING_1 ) ; fields [ 0 ] . METHOD_2 ( IDENT_4 . IDENT_5 ) ; fields [ 0 ] . METHOD_3 ( 10 ) ; com . IDENT_1 . IDENT_2 . IDENT_6 writer = null ; java . io . ByteArrayOutputStream IDENT_7 = null ; try { IDENT_7 = new java . io . ByteArrayOutputStream ( ) ; writer = new com . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_7 , java . nio . IDENT_8 . IDENT_9 . METHOD_5 ( STRING_2 ) ) ; writer . METHOD_6 ( fields ) ; java . lang . Object [ ] IDENT_10 = new java . lang . Object [ 1 ] ; IDENT_10 [ 0 ] = IDENT_0 ; writer . METHOD_7 ( IDENT_10 ) ; } finally { com . IDENT_1 . IDENT_2 . IDENT_11 . close ( writer ) ; com . IDENT_1 . IDENT_2 . IDENT_11 . close ( IDENT_7 ) ; } byte [ ] data = IDENT_7 . toByteArray ( ) ; com . IDENT_1 . IDENT_2 . IDENT_12 reader = null ; try { reader = new com . IDENT_1 . IDENT_2 . METHOD_8 ( new java . io . ByteArrayInputStream ( data ) ) ; java . lang . Object [ ] IDENT_13 = reader . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } finally { com . IDENT_1 . IDENT_2 . IDENT_11 . close ( reader ) ; } } METHOD_9 ( ) { if ( this . IDENT_14 ) { throw new java . lang . IllegalArgumentException ( STRING_3 ) ; } java . util . List < java . lang . Object > IDENT_15 = new java . util . ArrayList ( this . METHOD_10 ( ) ) ; try { boolean IDENT_16 = false ; do { try { if ( IDENT_16 && ( ! ( IDENT_17 ) ) ) { METHOD_11 ( ( ( this . header . IDENT_18 ) - 1 ) ) ; } int IDENT_19 = this . IDENT_20 . METHOD_12 ( ) ; if ( ( IDENT_19 == ( IDENT_21 ) ) || ( IDENT_19 == ( - 1 ) ) ) { return null ; } IDENT_16 = IDENT_19 == STRING_4 ; } catch ( java . io . IDENT_22 e ) { return null ; } } while ( IDENT_16 && ( ! ( IDENT_17 ) ) ) ; if ( IDENT_17 ) { IDENT_15 . add ( IDENT_16 ) ; } for ( int i = 0 ; i < ( this . header . IDENT_23 . length ) ; i ++ ) { com . IDENT_1 . IDENT_2 . METHOD_1 field = this . header . IDENT_23 [ i ] ; java . lang . Object o = METHOD_13 ( field ) ; if ( field . METHOD_14 ( ) ) { if ( ( ( field . getType ( ) ) == ( IDENT_4 . IDENT_24 ) ) && ( o instanceof java . util . IDENT_25 ) ) { java . util . IDENT_25 IDENT_26 = ( ( java . util . IDENT_25 ) ( o ) ) ; int IDENT_27 = - 1 ; for ( int j = 0 ; j < ( this . header . IDENT_23 . length ) ; j ++ ) { com . IDENT_1 . IDENT_2 . METHOD_1 IDENT_28 = this . header . IDENT_23 [ j ] ; if ( IDENT_28 . METHOD_15 ( ) ) { IDENT_27 ++ ; if ( IDENT_26 . get ( IDENT_27 ) ) { IDENT_15 . set ( j , null ) ; } } if ( ( ( IDENT_28 . getType ( ) ) == ( IDENT_4 . IDENT_29 ) ) || ( ( IDENT_28 . getType ( ) ) == ( IDENT_4 . IDENT_30 ) ) ) { IDENT_27 ++ ; if ( ( IDENT_15 . get ( i ) ) instanceof byte [ ] ) { byte [ ] data = ( ( byte [ ] ) ( IDENT_15 . get ( j ) ) ) ; int size = IDENT_28 . METHOD_16 ( ) ; if ( ! ( IDENT_26 . get ( IDENT_27 ) ) ) { size = data [ ( ( data . length ) - 1 ) ] ; } byte [ ] IDENT_31 = new byte [ size ] ; java . lang . System . METHOD_17 ( data , 0 , IDENT_31 , 0 , size ) ; java . lang . Object IDENT_32 = IDENT_31 ; if ( ( IDENT_28 . getType ( ) ) == ( IDENT_4 . IDENT_30 ) ) { IDENT_32 = new java . lang . String ( IDENT_31 , METHOD_18 ( ) ) ; } IDENT_15 . set ( j , IDENT_32 ) ; } } } } } else { IDENT_15 . add ( o ) ; } } } catch ( java . io . IDENT_22 e ) { throw new com . IDENT_1 . IDENT_2 . METHOD_19 ( e . getMessage ( ) , e ) ; } catch ( java . io . IOException e ) { throw new com . IDENT_1 . IDENT_2 . METHOD_19 ( e . getMessage ( ) , e ) ; } return IDENT_15 . toArray ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_13 [ 0 ] )