METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . apache . cxf . tools . common . IDENT_1 . IDENT_2 IDENT_1 = new org . apache . cxf . tools . common . IDENT_1 . METHOD_1 ( getClass ( ) . getResourceAsStream ( IDENT_0 ) , false ) ; org . apache . cxf . tools . common . IDENT_1 . parser . IDENT_3 IDENT_4 = new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 ( null ) ; IDENT_4 . METHOD_3 ( IDENT_1 ) ; org . apache . cxf . tools . common . IDENT_1 . parser . IDENT_5 IDENT_6 = IDENT_4 . METHOD_4 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String [ ] ) { if ( org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_5 ( IDENT_7 . IDENT_8 ) ) { java . lang . StringBuilder IDENT_9 = new java . lang . StringBuilder ( STRING_2 ) ; for ( int i = 0 ; i < ( args . length ) ; i ++ ) { IDENT_9 . append ( args [ i ] ) . append ( STRING_3 ) ; } org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_6 ( IDENT_9 . toString ( ) ) ; } if ( ( IDENT_1 ) == null ) { throw new java . lang . IllegalStateException ( ( STRING_4 0 + STRING_4 3 ) ) ; } org . w3c . dom . Document IDENT_10 = null ; try { javax . xml . IDENT_11 . IDENT_12 factory = javax . xml . IDENT_11 . IDENT_12 . newInstance ( ) ; factory . METHOD_7 ( true ) ; factory . METHOD_8 ( IDENT_13 . IDENT_14 , Boolean . IDENT_15 ) ; factory . METHOD_8 ( STRING_4 6 , true ) ; IDENT_10 = factory . METHOD_9 ( ) . METHOD_10 ( ) ; } catch ( java . lang . Exception ex ) { org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . log ( IDENT_7 . IDENT_16 , STRING_5 ) ; } org . w3c . dom . Element IDENT_17 = IDENT_10 . METHOD_11 ( STRING_4 1 , STRING_4 ) ; org . w3c . dom . IDENT_18 IDENT_19 = IDENT_17 . METHOD_12 ( ) . METHOD_13 ( STRING_4 5 , STRING_6 ) ; IDENT_19 . setValue ( STRING_7 ) ; IDENT_17 . METHOD_14 ( IDENT_19 ) ; IDENT_17 . METHOD_15 ( STRING_4 2 , STRING_4 1 ) ; IDENT_17 . METHOD_15 ( STRING_8 , STRING_4 5 ) ; IDENT_10 . METHOD_16 ( IDENT_17 ) ; org . apache . cxf . tools . common . IDENT_1 . parser . IDENT_20 tokens = new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_17 ( args ) ; org . w3c . dom . Element IDENT_21 = IDENT_1 . METHOD_18 ( ) ; java . util . List < org . w3c . dom . Element > IDENT_22 = IDENT_1 . METHOD_19 ( ) ; if ( org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_5 ( IDENT_7 . IDENT_8 ) ) { org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_6 ( ( ( STRING_9 + ( IDENT_22 . size ( ) ) ) + STRING_10 ) ) ; } if ( ! ( IDENT_22 . isEmpty ( ) ) ) { org . apache . cxf . tools . common . IDENT_1 . parser . IDENT_23 errors = new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_20 ( ) ; for ( org . w3c . dom . Element IDENT_24 : IDENT_22 ) { org . apache . cxf . tools . common . IDENT_1 . parser . IDENT_25 IDENT_26 = new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_21 ( IDENT_24 ) ; int pos = tokens . METHOD_22 ( ) ; if ( IDENT_26 . accept ( tokens , IDENT_17 , errors ) ) { IDENT_17 . METHOD_15 ( STRING_4 4 , IDENT_26 . getName ( ) ) ; break ; } tokens . METHOD_23 ( pos ) ; if ( ( IDENT_24 . METHOD_24 ( ) ) == null ) { if ( org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_5 ( IDENT_7 . IDENT_27 ) ) { org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . info ( STRING_4 7 ) ; } METHOD_25 ( errors ) ; } } } else { org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_20 errors = new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_20 ( ) ; org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_21 IDENT_26 = new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_21 ( IDENT_21 ) ; if ( ! ( IDENT_26 . accept ( tokens , IDENT_17 , errors ) ) ) { METHOD_25 ( errors ) ; } } if ( org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_5 ( IDENT_7 . IDENT_8 ) ) { try { javax . xml . transform . IDENT_28 IDENT_29 = javax . xml . transform . IDENT_28 . newInstance ( ) ; IDENT_29 . METHOD_8 ( javax . xml . IDENT_13 . IDENT_14 , true ) ; javax . xml . transform . IDENT_30 serializer = IDENT_29 . METHOD_26 ( new javax . xml . transform . stream . METHOD_27 ( org . apache . cxf . tools . common . IDENT_1 . IDENT_31 . class . getResourceAsStream ( STRING_11 ) ) ) ; try ( java . io . IDENT_32 IDENT_33 = new java . io . ByteArrayOutputStream ( ) ) { serializer . transform ( new javax . xml . transform . dom . METHOD_28 ( IDENT_10 ) , new javax . xml . transform . stream . METHOD_29 ( IDENT_33 ) ) ; org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . METHOD_6 ( IDENT_33 . toString ( ) ) ; } } catch ( java . lang . Exception ex ) { org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_2 . LOG . log ( IDENT_7 . IDENT_16 , STRING_12 , ex ) ; } } return new org . apache . cxf . tools . common . IDENT_1 . parser . METHOD_30 ( IDENT_1 , IDENT_10 ) ; }
org . junit . Assert . assertNotNull ( IDENT_6 )