METHOD_0 ( ) { final java . lang . String [ ] c = new java . lang . String [ ] { null } ; org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) { @ org . IDENT_0 . IDENT_1 . IDENT_2 . Override public java . util . List < java . lang . String > METHOD_2 ( java . lang . String lang ) { c [ 0 ] = lang ; return null ; } } ; new org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_3 ( IDENT_4 ) . METHOD_4 ( STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , java . lang . String ) { if ( input == null ) return null ; if ( input . isEmpty ( ) ) return "" ; if ( ( lang == null ) || ( lang . isEmpty ( ) ) ) return input ; java . util . List < java . lang . String > rules = loader . METHOD_2 ( lang ) ; if ( rules == null ) return input ; for ( java . lang . String r : rules ) { java . util . regex . IDENT_5 m = java . util . regex . IDENT_6 . METHOD_5 ( r ) . matcher ( input ) ; if ( ( m . METHOD_6 ( ) ) != 3 ) { throw new java . lang . IllegalArgumentException ( ( STRING_2 + r ) ) ; } if ( m . find ( ) ) { input = m . replaceAll ( STRING_3 ) ; } } return input ; }
org . junit . Assert . assertEquals ( STRING_1 , c [ 0 ] )