boolean hasGetterPrefixInMethodName(Method method) {

        String methodName = method.getName();
        if (methodName != null) {

            for (String prefix : GETTER_PREFIXES) {

                if (methodName.startsWith(prefix)) {
                    return true;
                }
            }

        }
        return false;
    }
boolean hasGetterPrefixInMethodName(Method method) {

        String methodName = method.getName();
        if (methodName != null) {

            for (String prefix : GETTER_PREFIXES) {

                if (methodName.startsWith(prefix)) {
                    return true;
                }
            }

        }
        return false;
    }
boolean hasGetterPrefixInMethodName ( Method method ) { String methodName = method . getName ( ) ; if ( methodName != null ) { for ( String prefix : GETTER_PREFIXES ) { if ( methodName . startsWith ( prefix ) ) { return true ; } } } return false ; }
Getter method names must have a specific prefix.

@param method the method to check
@return true, if the method name prefix is a getter Prefix, otherwise false
Getter method names must have a specific prefix .