class PrefixMatcher extends LineMatcher {
    private final String prefix;

    public PrefixMatcher(String prefix, boolean caseInsensitive) {
        super(caseInsensitive);
        this.prefix = normalizeString(prefix);
    }

    @Override
    public int match(String token) {<FILL_FUNCTION_BODY>}
}

        String tokenToMatch = normalizeString(token);
        return tokenToMatch.startsWith(prefix) ? MATCHED : NOT_MATCHED;
    
<methods>public abstract int match(java.lang.String) <variables>public static final int MATCHED,public static final int NOT_MATCHED,public static final int WAIT,private final non-sealed boolean caseInsensitive