boolean (@NotNull String prefix, @NotNull String variant) { boolean matches = new CamelHumpMatcher(prefix, false).prefixMatches(variant.replace(' ', '_')); if (matches && isWhiteSpace(prefix.charAt(prefix.length() - 1))) { return startsWithIgnoreCase(variant, prefix); } return matches; }