boolean (@NotNull String methodName, @NotNull String prefix) { boolean hasPrefix = methodName.startsWith(prefix) && methodName.length() > prefix.length(); return hasPrefix && !(Character.isLowerCase(methodName.charAt(prefix.length())) && (methodName.length() == prefix.length() + 1 || Character.isLowerCase(methodName.charAt(prefix.length() + 1)))); }