private String getPropertyForGetter(String getterName) {
        if (getterName == null || getterName.length() == 0) return null;

        if (getterName.startsWith("get")) {
            String prop = getterName.substring(3);
            return MetaClassHelper.convertPropertyName(prop);
        } else if (getterName.startsWith("is")) {
            String prop = getterName.substring(2);
            return MetaClassHelper.convertPropertyName(prop);
        }
        return null;
    }
private String getPropertyForGetter ( String getterName ) { if ( getterName == null || getterName . length ( ) == 0 ) return null ; if ( getterName . startsWith ( "get" ) ) { String prop = getterName . substring ( 3 ) ; return MetaClassHelper . convertPropertyName ( prop ) ; } else if ( getterName . startsWith ( "is" ) ) { String prop = getterName . substring ( 2 ) ; return MetaClassHelper . convertPropertyName ( prop ) ; } return null ; }
Returns a property name equivalent for the given getter name or null if it is not a getter

@param getterName The getter name
@return The property name equivalent