METHOD_0 ( ) { java . lang . String IDENT_0 = METHOD_1 ( STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_1 , STRING_2 , STRING_4 ) ; java . lang . String expected = ( IDENT_0 + ( java . lang . System . METHOD_2 ( ) ) ) + STRING_5 ; com . facebook . buck . core . exceptions . handler . IDENT_1 IDENT_2 = new com . facebook . buck . core . exceptions . handler . METHOD_3 ( com . google . common . collect . ImmutableMap . of ( java . util . regex . IDENT_3 . METHOD_4 ( STRING_6 ) , STRING_7 ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { if ( IDENT_4 . isEmpty ( ) ) { return IDENT_5 ; } java . lang . String IDENT_6 = com . facebook . buck . core . exceptions . handler . METHOD_3 . IDENT_7 . matcher ( IDENT_5 ) . replaceAll ( "" ) ; java . lang . StringBuilder ret = new java . lang . StringBuilder ( IDENT_5 ) ; for ( Map . Entry < java . util . regex . IDENT_3 , java . lang . String > IDENT_8 : IDENT_4 . entrySet ( ) ) { java . util . regex . IDENT_9 matcher = IDENT_8 . getKey ( ) . matcher ( IDENT_6 ) ; if ( matcher . find ( ) ) { try { java . util . regex . IDENT_9 IDENT_10 = IDENT_8 . getKey ( ) . matcher ( matcher . group ( 0 ) ) ; java . lang . String IDENT_11 = IDENT_10 . replaceAll ( IDENT_8 . getValue ( ) ) ; ret . append ( java . lang . System . METHOD_2 ( ) ) ; ret . append ( IDENT_11 ) ; } catch ( java . lang . Exception e ) { ret . append ( java . lang . String . format ( ( ( java . lang . System . METHOD_2 ( ) ) + STRING_8 ) , matcher . group ( 0 ) , IDENT_8 . getValue ( ) , e . getMessage ( ) ) ) ; } } } return ret . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_2 . METHOD_5 ( IDENT_0 ) )