Code example for Member

Methods: getModifiers

0
            case ANY:
                return true; 
            case NONE:
                return false; 
            case NON_PRIVATE:
                return !Modifier.isPrivate(m.getModifiers());
            case PROTECTED_AND_PUBLIC:
                if (Modifier.isProtected(m.getModifiers())) {
                    return true; 
                } 
                // fall through to public case: 
            case PUBLIC_ONLY:
                return Modifier.isPublic(m.getModifiers());
            } 
            return false; 
        } 
    } 
     
    /** 
     * Minimum visibility required for auto-detecting regular getter methods. 
     */