private String _removeNewStyleCommentsAndQuotedStringsFromString(String declarationsStr) { String escapedQuoteStr = _NSStringUtilities.replaceAllInstancesOfString(declarationsStr, "\\\"", WOHelperFunctionDeclarationParser.ESCAPED_QUOTE_STRING); StringBuilder declarationWithoutCommentsBuffer = new StringBuilder(100); StringTokenizer tokenizer = new StringTokenizer(escapedQuoteStr, "/\"", true); token = tokenizer.nextToken("\n"); if (token.startsWith("/")) { token = _NSStringUtilities.replaceAllInstancesOfString(token, WOHelperFunctionDeclarationParser.ESCAPED_QUOTE_STRING, "\\\""); declarationWithoutCommentsBuffer.append('\n'); tokenizer.nextToken(); NSLog.debug.appendln("Found a quoted string: " + quotedStringKey + "='" + token + "';"); token = _NSStringUtilities.replaceAllInstancesOfString(token, WOHelperFunctionDeclarationParser.ESCAPED_QUOTE_STRING, "\""); _quotedStrings.setObjectForKey(token, quotedStringKey); declarationWithoutCommentsBuffer.append(quotedStringKey);