METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_3 IDENT_4 = IDENT_3 . INSTANCE ; com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_5 IDENT_6 = new com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_7 . IDENT_8 , STRING_0 , null , null , IDENT_9 , com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_7 . IDENT_10 ) ; java . lang . String query = "" ; query += STRING_1 ; query += STRING_2 ; query += STRING_3 ; java . lang . String expected = "" ; expected += STRING_1 ; expected += STRING_2 ; expected += ( STRING_4 + ( com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_7 . IDENT_8 ) ) + STRING_5 ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_5 , java . lang . String ) { org . apache . hadoop . hive . IDENT_11 . parse . IDENT_12 root ; try { root = org . apache . hadoop . hive . IDENT_11 . parse . IDENT_13 . parse ( query ) ; } catch ( org . apache . hadoop . hive . IDENT_11 . parse . IDENT_14 e ) { throw new com . IDENT_0 . IDENT_1 . IDENT_2 . api . METHOD_3 ( ( ( STRING_6 + query ) + STRING_7 ) , e ) ; } java . util . IDENT_15 < org . antlr . runtime . IDENT_16 > IDENT_17 = METHOD_4 ( root ) ; java . lang . StringBuilder result = new java . lang . StringBuilder ( ) ; int IDENT_18 = 0 ; for ( org . antlr . runtime . IDENT_16 IDENT_19 : IDENT_17 ) { final java . lang . String IDENT_20 = IDENT_19 . getText ( ) ; final boolean IDENT_21 = ( IDENT_20 . startsWith ( STRING_8 ) ) && ( IDENT_20 . METHOD_5 ( STRING_8 ) ) ; java . lang . String IDENT_22 = IDENT_6 . METHOD_2 ( METHOD_6 ( IDENT_20 ) ) ; if ( IDENT_21 ) { IDENT_22 = ( STRING_8 + IDENT_22 ) + STRING_8 ; } result . append ( query . substring ( IDENT_18 , IDENT_19 . METHOD_7 ( ) ) ) ; result . append ( IDENT_22 ) ; IDENT_18 = ( IDENT_19 . METHOD_8 ( ) ) + 1 ; } result . append ( query . substring ( IDENT_18 ) ) ; return result . toString ( ) ; }
org . junit . Assert . assertThat ( IDENT_4 . METHOD_2 ( IDENT_6 , query ) , org . hamcrest . CoreMatchers . is ( expected ) )