METHOD_0 ( ) { org . apache . IDENT_0 . metadata . IDENT_1 IDENT_2 = new org . apache . IDENT_0 . metadata . METHOD_1 ( ) ; IDENT_2 . add ( STRING_0 , STRING_1 ) ; IDENT_2 . add ( STRING_0 , STRING_2 ) ; IDENT_2 . add ( STRING_0 , STRING_3 ) ; IDENT_2 . add ( STRING_0 , STRING_4 ) ; IDENT_2 . add ( STRING_0 , STRING_4 ) ; IDENT_2 . add ( STRING_5 , STRING_1 ) ; IDENT_2 . add ( IDENT_3 . IDENT_4 , STRING_6 ) ; org . apache . IDENT_0 . metadata . METHOD_1 IDENT_5 = new org . apache . IDENT_0 . metadata . METHOD_1 ( ) ; IDENT_5 . add ( STRING_7 , STRING_1 ) ; IDENT_5 . add ( STRING_7 , STRING_2 ) ; IDENT_5 . add ( STRING_7 , STRING_3 ) ; IDENT_5 . add ( STRING_7 , STRING_4 ) ; IDENT_5 . add ( STRING_7 , STRING_4 ) ; IDENT_5 . add ( STRING_8 , STRING_1 ) ; java . util . List < org . apache . IDENT_0 . metadata . METHOD_1 > IDENT_6 = new java . util . ArrayList ( ) ; IDENT_6 . add ( IDENT_5 ) ; IDENT_6 . add ( IDENT_2 ) ; java . io . StringWriter IDENT_7 = new java . io . StringWriter ( ) ; try ( org . apache . IDENT_0 . metadata . serialization . IDENT_8 serializer = new org . apache . IDENT_0 . metadata . serialization . METHOD_2 ( IDENT_7 ) ) { serializer . add ( IDENT_2 ) ; serializer . add ( IDENT_5 ) ; } java . io . IDENT_9 reader = new java . io . METHOD_3 ( IDENT_7 . toString ( ) ) ; java . util . List < org . apache . IDENT_0 . metadata . METHOD_1 > IDENT_10 = org . apache . IDENT_0 . metadata . serialization . IDENT_11 . METHOD_4 ( reader ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . io . IDENT_9 ) { java . util . List < org . apache . IDENT_0 . metadata . METHOD_1 > IDENT_12 = null ; if ( reader == null ) { return IDENT_12 ; } try { IDENT_12 = org . apache . IDENT_0 . metadata . serialization . IDENT_11 . IDENT_13 . METHOD_4 ( reader , org . apache . IDENT_0 . metadata . serialization . IDENT_11 . IDENT_14 ) ; } catch ( org . apache . IDENT_0 . metadata . serialization . com . google e ) { throw new org . apache . IDENT_0 . exception . METHOD_5 ( e . getMessage ( ) ) ; } if ( IDENT_12 == null ) { return null ; } if ( ( IDENT_12 . size ( ) ) > 1 ) { org . apache . IDENT_0 . metadata . METHOD_1 IDENT_15 = IDENT_12 . get ( ( ( IDENT_12 . size ( ) ) - 1 ) ) ; java . lang . String IDENT_16 = IDENT_15 . get ( IDENT_3 . IDENT_4 ) ; if ( ( IDENT_16 == null ) && ( ( IDENT_12 . get ( 0 ) . get ( IDENT_3 . IDENT_4 ) ) != null ) ) { IDENT_12 . add ( 0 , IDENT_12 . remove ( ( ( IDENT_12 . size ( ) ) - 1 ) ) ) ; } } return IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_10 )