@Test(expected = IllegalArgumentException.class) public void testTokenizeEmptyString() { tokenizer.tokenize(""); }
public TokenList tokenize(String statementName) { assertStatementIsValid(statementName); String splitCriterion = String.format(SPLIT_TOKEN_PATTERN_TEMPLATE, Pattern.quote(prefix), Pattern.quote(suffix)); rawTokens = statementName.split(splitCriterion); findTokens(); return mergedTokens; }
Tokenizer { public TokenList tokenize(String statementName) { assertStatementIsValid(statementName); String splitCriterion = String.format(SPLIT_TOKEN_PATTERN_TEMPLATE, Pattern.quote(prefix), Pattern.quote(suffix)); rawTokens = statementName.split(splitCriterion); findTokens(); return mergedTokens; } }
Tokenizer { public TokenList tokenize(String statementName) { assertStatementIsValid(statementName); String splitCriterion = String.format(SPLIT_TOKEN_PATTERN_TEMPLATE, Pattern.quote(prefix), Pattern.quote(suffix)); rawTokens = statementName.split(splitCriterion); findTokens(); return mergedTokens; } Tokenizer();  Tokenizer(String prefix, String suffix, String escapeCharacter); }
Tokenizer { public TokenList tokenize(String statementName) { assertStatementIsValid(statementName); String splitCriterion = String.format(SPLIT_TOKEN_PATTERN_TEMPLATE, Pattern.quote(prefix), Pattern.quote(suffix)); rawTokens = statementName.split(splitCriterion); findTokens(); return mergedTokens; } Tokenizer();  Tokenizer(String prefix, String suffix, String escapeCharacter); TokenList tokenize(String statementName); }
Tokenizer { public TokenList tokenize(String statementName) { assertStatementIsValid(statementName); String splitCriterion = String.format(SPLIT_TOKEN_PATTERN_TEMPLATE, Pattern.quote(prefix), Pattern.quote(suffix)); rawTokens = statementName.split(splitCriterion); findTokens(); return mergedTokens; } Tokenizer();  Tokenizer(String prefix, String suffix, String escapeCharacter); TokenList tokenize(String statementName); @SuppressWarnings("WeakerAccess")
    static final String DEFAULT_PREFIX; @SuppressWarnings("WeakerAccess")
    static final String DEFAULT_SUFFIX; @SuppressWarnings("WeakerAccess")
    static final String DEFAULT_ESCAPE_CHARACTER; }