@Test public void subst_null() { Substitution subs = new MatchResultSubstitution(r1); assertEquals(null, subs.substitute(null)); }
public final String substitute(String input) { if (input == null) { return null; } StringBuilder buf = new StringBuilder(); substitute(buf, input); return buf.toString(); }
Substitution { public final String substitute(String input) { if (input == null) { return null; } StringBuilder buf = new StringBuilder(); substitute(buf, input); return buf.toString(); } }
Substitution { public final String substitute(String input) { if (input == null) { return null; } StringBuilder buf = new StringBuilder(); substitute(buf, input); return buf.toString(); } Substitution();  Substitution(String replacementPrefixes); }
Substitution { public final String substitute(String input) { if (input == null) { return null; } StringBuilder buf = new StringBuilder(); substitute(buf, input); return buf.toString(); } Substitution();  Substitution(String replacementPrefixes); final String substitute(String input); final void substitute(StringBuilder buf, String input); }
Substitution { public final String substitute(String input) { if (input == null) { return null; } StringBuilder buf = new StringBuilder(); substitute(buf, input); return buf.toString(); } Substitution();  Substitution(String replacementPrefixes); final String substitute(String input); final void substitute(StringBuilder buf, String input);  }