METHOD_0 ( ) { com . github . IDENT_0 . IDENT_1 . services . IDENT_2 IDENT_3 = METHOD_1 ( com . github . IDENT_0 . IDENT_1 . services . IDENT_2 . class ) ; org . eclipse . core . resources . IDENT_4 file = METHOD_1 ( org . eclipse . core . resources . IDENT_4 . class ) ; com . github . IDENT_0 . IDENT_1 . generator . IDENT_5 IDENT_6 = METHOD_1 ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_5 . class ) ; com . github . IDENT_0 . IDENT_1 . generator . IDENT_7 options = METHOD_1 ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_7 . class ) ; org . eclipse . debug . core . IDENT_8 IDENT_9 = METHOD_1 ( org . eclipse . debug . core . IDENT_8 . class ) ; com . github . IDENT_0 . IDENT_1 . generator . IDENT_10 listener = METHOD_1 ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_10 . class ) ; java . util . Set < com . github . IDENT_0 . IDENT_1 . generator . IDENT_10 > IDENT_11 = METHOD_2 ( listener ) ; com . github . IDENT_0 . IDENT_1 . generator . IDENT_12 IDENT_13 = METHOD_1 ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_12 . class ) ; com . github . IDENT_0 . IDENT_1 . IDENT_14 . IDENT_15 IDENT_14 = METHOD_1 ( com . github . IDENT_0 . IDENT_1 . IDENT_14 . IDENT_15 . class ) ; expect ( file . getName ( ) ) . andReturn ( STRING_0 ) ; listener . METHOD_3 ( file , options ) ; IDENT_13 . run ( file , options , IDENT_14 ) ; listener . METHOD_4 ( file , options ) ; org . IDENT_16 . api . easymock . IDENT_17 . METHOD_5 ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_18 . class ) ; org . easymock . IDENT_19 < com . google . common . base . IDENT_20 < org . eclipse . core . runtime . IDENT_21 , org . eclipse . core . runtime . IDENT_22 > > IDENT_23 = new org . easymock . IDENT_19 < com . google . common . base . IDENT_20 < org . eclipse . core . runtime . IDENT_21 , org . eclipse . core . runtime . IDENT_22 > > ( ) ; expect ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_18 . METHOD_6 ( eq ( STRING_1 ) , METHOD_7 ( IDENT_23 ) ) ) . andReturn ( null ) ; org . IDENT_16 . api . easymock . IDENT_17 . replay ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_18 . class ) ; java . lang . Object [ ] IDENT_24 = new java . lang . Object [ ] { file , IDENT_6 , options , IDENT_9 , listener , IDENT_13 , IDENT_14 } ; replay ( IDENT_24 ) ; com . github . IDENT_0 . IDENT_1 . generator . IDENT_25 generator = METHOD_8 ( IDENT_14 , IDENT_9 , IDENT_11 , IDENT_6 , IDENT_13 , IDENT_3 ) ; generator . METHOD_0 ( file , options ) ; "<AssertPlaceHolder>" ; IDENT_23 . getValue ( ) . apply ( new org . eclipse . core . runtime . METHOD_9 ( ) ) ; verify ( IDENT_24 ) ; org . IDENT_16 . api . easymock . IDENT_17 . verify ( com . github . IDENT_0 . IDENT_1 . generator . IDENT_18 . class ) ; } METHOD_0 ( org . eclipse . xtext . IDENT_26 , org . eclipse . IDENT_27 . IDENT_28 ) { org . eclipse . xtext . generator . parser . antlr . ex . common . IDENT_29 helper = new org . eclipse . xtext . generator . parser . antlr . ex . common . METHOD_10 ( IDENT_30 , METHOD_11 ( ) . METHOD_12 ( ) ) ; super . METHOD_0 ( IDENT_30 , ctx ) ; final java . lang . String IDENT_31 = ctx . METHOD_13 ( ) . METHOD_14 ( IDENT_32 . IDENT_33 ) . getPath ( ) ; final java . lang . String IDENT_34 = METHOD_15 ( ctx , IDENT_32 . IDENT_33 ) ; final java . lang . String IDENT_35 = ( IDENT_31 + "/" ) + ( METHOD_16 ( ) . METHOD_17 ( IDENT_30 ) . replace ( STRING_2 , STRING_3 ) ) ; java . lang . String IDENT_36 = IDENT_35 ; IDENT_36 = IDENT_36 . substring ( 0 , IDENT_36 . METHOD_18 ( STRING_3 ) ) ; java . lang . String IDENT_37 = IDENT_35 + STRING_4 ; java . lang . String IDENT_38 = ( ( IDENT_31 + "/" ) + ( METHOD_16 ( ) . METHOD_19 ( IDENT_30 ) . replace ( STRING_2 , STRING_3 ) ) ) + STRING_4 ; METHOD_20 ( STRING_5 ) ; METHOD_20 ( IDENT_38 . substring ( 0 , IDENT_38 . METHOD_18 ( STRING_3 ) ) ) ; java . lang . String [ ] IDENT_39 = METHOD_21 ( ) ; IDENT_39 [ ( ( IDENT_39 . length ) - 1 ) ] = IDENT_37 . substring ( 0 , IDENT_37 . METHOD_18 ( STRING_3 ) ) ; METHOD_22 ( new java . io . File ( IDENT_37 ) , new java . io . File ( ( IDENT_35 + STRING_6 ) ) ) ; METHOD_23 ( IDENT_37 , METHOD_24 ( IDENT_37 . replace ( STRING_7 , STRING_8 ) ) ) ; METHOD_25 ( ) . METHOD_26 ( IDENT_37 . replace ( STRING_9 , "/" ) , IDENT_34 , IDENT_39 ) ; METHOD_27 ( IDENT_35 , helper , IDENT_34 ) ; METHOD_20 ( STRING_10 ) ; METHOD_20 ( IDENT_36 ) ; METHOD_25 ( ) . METHOD_26 ( IDENT_38 , IDENT_34 , METHOD_21 ( ) ) ; java . nio . IDENT_40 . IDENT_41 IDENT_40 = java . nio . IDENT_40 . IDENT_41 . METHOD_28 ( IDENT_34 ) ; METHOD_29 ( IDENT_30 , IDENT_38 , IDENT_40 ) ; METHOD_30 ( IDENT_37 , IDENT_38 , IDENT_40 ) ; METHOD_31 ( IDENT_37 , IDENT_38 , IDENT_40 ) ; METHOD_32 ( IDENT_37 , IDENT_38 , IDENT_40 ) ; METHOD_33 ( IDENT_38 , IDENT_40 ) ; org . eclipse . xtext . generator . parser . antlr . ex . common . IDENT_42 provider = METHOD_34 ( IDENT_35 , helper , IDENT_40 ) ; for ( Map . Entry < java . lang . Integer , java . lang . String > entry : provider . METHOD_35 ( ) . entrySet ( ) ) { java . lang . String value = entry . getValue ( ) ; if ( helper . METHOD_36 ( value ) ) { java . lang . String IDENT_43 = org . eclipse . xtext . generator . parser . antlr . IDENT_44 . METHOD_37 ( helper . METHOD_38 ( value ) ) ; entry . setValue ( ( ( STRING_11 + IDENT_43 ) + STRING_11 ) ) ; } else if ( value . startsWith ( STRING_11 ) ) { value = org . eclipse . xtext . generator . parser . antlr . IDENT_44 . METHOD_37 ( value ) ; entry . setValue ( ( ( STRING_11 + value ) + STRING_11 ) ) ; } } try { provider . METHOD_39 ( new java . io . METHOD_40 ( new java . io . File ( ( ( ( IDENT_31 + "/" ) + ( METHOD_16 ( ) . METHOD_19 ( IDENT_30 ) . replace ( STRING_2 , STRING_3 ) ) ) + STRING_12 ) ) , IDENT_34 ) ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } METHOD_33 ( IDENT_37 , IDENT_40 ) ; helper . METHOD_41 ( IDENT_30 ) ; }
org . junit . Assert . assertNotNull ( IDENT_23 . getValue ( ) )