METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_3 original = new org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . METHOD_1 ( ) ; original . METHOD_2 ( STRING_0 ) ; original . METHOD_3 ( STRING_1 ) ; original . METHOD_4 ( new org . apache . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_5 ( "test" , org . apache . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_5 . IDENT_5 . IDENT_6 , new java . awt . METHOD_6 ( 255 , 255 , 0 ) , 0 ) ) ; original . METHOD_7 ( STRING_2 ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . serialize ( original , out ) ; java . io . InputStream in = new java . io . ByteArrayInputStream ( out . toByteArray ( ) ) ; org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . METHOD_1 IDENT_8 = org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . METHOD_8 ( in ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . io . InputStream ) { javax . xml . IDENT_9 . IDENT_10 IDENT_11 = org . apache . IDENT_0 . internal . util . IDENT_12 . METHOD_9 ( ) ; javax . xml . IDENT_9 . IDENT_13 IDENT_14 ; try { IDENT_14 = IDENT_11 . METHOD_10 ( ) ; } catch ( javax . xml . IDENT_9 . IDENT_15 e ) { java . lang . String message = STRING_3 + ( ( e . getMessage ( ) ) != null ? e . getMessage ( ) : "" ) ; org . eclipse . core . runtime . IDENT_16 s = new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_16 . IDENT_17 , org . apache . IDENT_0 . IDENT_1 . IDENT_18 . IDENT_19 , org . eclipse . core . runtime . IDENT_16 . IDENT_20 , message , e ) ; throw new org . eclipse . core . runtime . METHOD_11 ( s ) ; } org . w3c . dom . Document IDENT_21 ; try { IDENT_21 = IDENT_14 . parse ( IDENT_22 ) ; } catch ( org . xml . IDENT_23 . IDENT_24 e ) { java . lang . String message = ( ( e . getMessage ( ) ) != null ) ? e . getMessage ( ) : "" ; org . eclipse . core . runtime . IDENT_16 s = new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_16 . IDENT_17 , org . apache . IDENT_0 . IDENT_1 . IDENT_18 . IDENT_19 , org . eclipse . core . runtime . IDENT_16 . IDENT_20 , message , e ) ; throw new org . eclipse . core . runtime . METHOD_11 ( s ) ; } catch ( java . io . IOException e ) { java . lang . String message = ( ( e . getMessage ( ) ) != null ) ? e . getMessage ( ) : "" ; org . eclipse . core . runtime . IDENT_16 s = new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_16 . IDENT_17 , org . apache . IDENT_0 . IDENT_1 . IDENT_18 . IDENT_19 , org . eclipse . core . runtime . IDENT_16 . IDENT_20 , message , e ) ; throw new org . eclipse . core . runtime . METHOD_11 ( s ) ; } org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . METHOD_1 IDENT_25 = new org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . METHOD_1 ( ) ; org . w3c . dom . Element IDENT_26 = IDENT_21 . METHOD_12 ( ) ; if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_27 . equals ( IDENT_26 . METHOD_13 ( ) ) ) { } org . w3c . dom . IDENT_28 IDENT_29 = IDENT_26 . METHOD_14 ( ) ; for ( int i = 0 ; i < ( IDENT_29 . METHOD_15 ( ) ) ; i ++ ) { org . w3c . dom . Node IDENT_30 = IDENT_29 . item ( i ) ; if ( ! ( IDENT_30 instanceof org . w3c . dom . Element ) ) { continue ; } org . w3c . dom . Element IDENT_31 = ( ( org . w3c . dom . Element ) ( IDENT_30 ) ) ; if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_32 . equals ( IDENT_31 . METHOD_13 ( ) ) ) { IDENT_25 . METHOD_2 ( IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_33 ) ) ; } else if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_34 . equals ( IDENT_31 . METHOD_13 ( ) ) ) { java . lang . String IDENT_35 = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_36 ) ; IDENT_25 . METHOD_7 ( IDENT_35 ) ; } else if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_37 . equals ( IDENT_31 . METHOD_13 ( ) ) ) { java . lang . String type = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_38 ) ; java . lang . String IDENT_39 = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_40 ) ; int IDENT_41 = java . lang . Integer . METHOD_17 ( IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_42 ) ) ; java . awt . METHOD_6 IDENT_43 = new java . awt . METHOD_6 ( IDENT_41 ) ; java . lang . String IDENT_44 = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_45 ) ; java . lang . String IDENT_46 = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_47 ) ; if ( ( IDENT_46 . length ( ) ) == 0 ) IDENT_46 = null ; int IDENT_48 ; try { IDENT_48 = java . lang . Integer . METHOD_17 ( IDENT_44 ) ; } catch ( java . lang . IDENT_49 e ) { IDENT_48 = 0 ; } org . apache . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_5 IDENT_50 = new org . apache . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_5 ( type , METHOD_5 . IDENT_5 . valueOf ( IDENT_39 ) , IDENT_43 , IDENT_48 , IDENT_46 ) ; IDENT_25 . METHOD_4 ( IDENT_50 ) ; } else if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_51 . equals ( IDENT_31 . METHOD_13 ( ) ) ) { IDENT_25 . METHOD_3 ( IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_52 ) ) ; } else if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_53 . equals ( IDENT_31 . METHOD_13 ( ) ) ) { java . lang . String IDENT_54 = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_55 ) ; int IDENT_56 = java . lang . Integer . METHOD_17 ( IDENT_54 ) ; IDENT_25 . METHOD_18 ( IDENT_56 ) ; } else if ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_57 . equals ( IDENT_31 . METHOD_13 ( ) ) ) { java . lang . String type = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_58 ) ; java . lang . String IDENT_59 = IDENT_31 . METHOD_16 ( org . apache . IDENT_0 . IDENT_1 . core . model . IDENT_2 . IDENT_7 . IDENT_60 ) ; boolean IDENT_61 = java . lang . Boolean . METHOD_19 ( IDENT_59 ) ; if ( IDENT_61 ) { IDENT_25 . METHOD_20 ( type ) ; } } else { java . lang . String message = STRING_4 + ( IDENT_31 . METHOD_13 ( ) ) ; org . eclipse . core . runtime . IDENT_16 s = new org . eclipse . core . runtime . Status ( org . eclipse . core . runtime . IDENT_16 . IDENT_17 , org . apache . IDENT_0 . IDENT_1 . IDENT_18 . IDENT_19 , org . eclipse . core . runtime . IDENT_16 . IDENT_20 , message , null ) ; throw new org . eclipse . core . runtime . METHOD_11 ( s ) ; } } return IDENT_25 ; }
org . junit . Assert . assertEquals ( original , IDENT_8 )