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; 
		} 
	} 
	 
    /** 
     * Types of property elements (getters, setters, fields, creators) that 
     * can be auto-detected.