private static int getGetterPrefixCharCount(Method method) {
            // Don't use static methods, or methods with arguments.
            if (!Modifier.isStatic(method.getModifiers()) && method.getParameterCount() == 0) {
                if (method.getName().startsWith("get")) {
                    return 3;
                } else if (method.getName().startsWith("is") && method.getReturnType() == boolean.class) {
                    return 2;
                }
            }
            return 0;
        }
Contains the getters of a class that are eligible to convert to a Node.

<p>Getters are public methods that take zero arguments and start with
"get" or "is". Getters that are associated with properties marked as
{@code transient} are not serialized.
smithy-model/src/main/java/software/amazon/smithy/model/node/DefaultNodeSerializers.java