question: converts a string which may contain quotes and newlines into a java literal . for example , string with `` quotes '' split across lines becomes testutil.fold `` string with \ `` quotes \ '' split \ n '' , + `` across lines '' concode_field_sep Pattern LINE_BREAK_PATTERN concode_elem_sep Pattern TAB_PATTERN concode_elem_sep String LINE_BREAK concode_field_sep String fold concode_elem_sep String quotePattern concode_elem_sep String quoteForJava concode_elem_sep String escapeString concode_elem_sep StringBuilder escapeString concode_elem_sep void assertEqualsVerbose
target: String function ( String arg0 ) { arg0 = Util . replace ( arg0 , "srini_string" | "srini_string" ) ; arg0 = LINE_BREAK_PATTERN . matcher ( arg0 ) . replaceAll ( LINE_BREAK ) ; arg0 = TAB_PATTERN . matcher ( arg0 ) . replaceAll ( "srini_string" ) ; arg0 = "srini_string" = "srini_string" ; String loc0 = "srini_string" ; if ( arg0 . endsWith ( loc0 ) ) { arg0 = arg0 . substring ( 0 , arg0 . length ( ) - loc0 . length ( ) ) ; } return arg0 ; }