private static Stream<String> getPossibleFieldNames(String prefix, String methodName) {
        if (!methodName.startsWith(prefix) || prefix.length() == methodName.length()) {
            return Stream.of();
        }
        Stream.Builder<String> possibleFieldNames = Stream.builder();
        String methodNameWithoutPrefix = methodName.substring(prefix.length());
        if (Character.isUpperCase(methodNameWithoutPrefix.charAt(0))) {
            // ensure that the variable starts with a lower-case letter
            possibleFieldNames.add(methodNameWithoutPrefix.substring(0, 1).toLowerCase() + methodNameWithoutPrefix.substring(1));
            if ("is".equals(prefix)) {
                // since 4.32.0: a method "isBool()" is considered a possible getter for a field "isBool" as well as for "bool"
                possibleFieldNames.add(methodName);
            }
        }
        // @since 4.32.0 - conforming with JavaBeans API specification edge case when second character in field name is in uppercase
        if (methodNameWithoutPrefix.length() > 1 && Character.isUpperCase(methodNameWithoutPrefix.charAt(1))) {
            possibleFieldNames.add(methodNameWithoutPrefix);
        }
        return possibleFieldNames.build();
    }
Look-up the field associated with this method if it is deemed to be a getter by convention.

@return associated field
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MethodScope.java