@Test public void testSubstitute() { assertEquals("barxxxbar", parser.substitute("barfoobar", "foo", "xxx")); assertEquals("barxxx]bar", parser.substitute("bar[foo]bar", "[foo", "xxx")); }
String substitute(String text, String searchString, String replacementString) { return text.replaceFirst(Pattern.quote(searchString), replacementString); }
FunctionSignatureParser { String substitute(String text, String searchString, String replacementString) { return text.replaceFirst(Pattern.quote(searchString), replacementString); } }
FunctionSignatureParser { String substitute(String text, String searchString, String replacementString) { return text.replaceFirst(Pattern.quote(searchString), replacementString); } FunctionSignatureParser(Program program, DataTypeManagerService service); }
FunctionSignatureParser { String substitute(String text, String searchString, String replacementString) { return text.replaceFirst(Pattern.quote(searchString), replacementString); } FunctionSignatureParser(Program program, DataTypeManagerService service); FunctionDefinitionDataType parse(FunctionSignature originalSignature,
			String signatureText); }
FunctionSignatureParser { String substitute(String text, String searchString, String replacementString) { return text.replaceFirst(Pattern.quote(searchString), replacementString); } FunctionSignatureParser(Program program, DataTypeManagerService service); FunctionDefinitionDataType parse(FunctionSignature originalSignature,
			String signatureText);  }