question: public static String parseString ( String value ) { if ( ( value . startsWith ( "\"" ) ) && ( value . endsWith ( "\"" ) ) || ( value . startsWith ( "'" ) ) && ( value . endsWith ( "'" ) ) ) { if ( value . length ( ) > 1 ) { if ( value . indexOf ( '\\' ) != - 1 ) { return unescape ( value . substring ( 1 , value . length ( ) - 1 ) ) ; } return value . substring ( 1 , value . length ( ) - 1 ) ; } } throw new IllegalArgumentException ( "String value of '" + value + "' cannot be parsed" ) ; }
target:  Parse the string literal consisting of text between double-quotes or single-quotes.