Enum MemberType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MemberType>

    public enum MemberType
    extends java.lang.Enum<MemberType>
    • Field Detail

      • mask

        final int mask
      • constructors

        private static final java.util.Set<MemberType> constructors
      • fields

        private static final java.util.Set<MemberType> fields
      • methods

        private static final java.util.Set<MemberType> methods
      • types

        private static final java.util.Set<MemberType> types
      • custom

        private static final java.util.Set<MemberType> custom
      • nestedTypes

        private static final java.util.Set<MemberType> nestedTypes
    • Constructor Detail

      • MemberType

        private MemberType​(int mask)
    • Method Detail

      • values

        public static MemberType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MemberType c : MemberType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MemberType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • constructorsOnly

        public static java.util.Set<MemberType> constructorsOnly()
      • fieldsOnly

        public static java.util.Set<MemberType> fieldsOnly()
      • methodsOnly

        public static java.util.Set<MemberType> methodsOnly()
      • typesOnly

        public static java.util.Set<MemberType> typesOnly()
      • customOnly

        public static java.util.Set<MemberType> customOnly()
      • nestedTypesOnly

        public static java.util.Set<MemberType> nestedTypesOnly()
      • mask

        static int mask​(java.util.Set<MemberType> memberTypes)