Package com.strobel.reflection
Enum Class MemberType
- All Implemented Interfaces:
Serializable
,Comparable<MemberType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Set
<MemberType> private static final Set
<MemberType> private static final Set
<MemberType> (package private) final int
private static final Set
<MemberType> private static final Set
<MemberType> private static final Set
<MemberType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set
<MemberType> static Set
<MemberType> static Set
<MemberType> (package private) static int
mask
(Set<MemberType> memberTypes) static Set
<MemberType> static Set
<MemberType> static Set
<MemberType> of
(MemberType m1) static Set
<MemberType> of
(MemberType m1, MemberType m2) static Set
<MemberType> of
(MemberType m1, MemberType... others) static Set
<MemberType> of
(MemberType m1, MemberType m2, MemberType m3) static Set
<MemberType> of
(MemberType m1, MemberType m2, MemberType m3, MemberType m4) static Set
<MemberType> of
(MemberType m1, MemberType m2, MemberType m3, MemberType m4, MemberType m5) static Set
<MemberType> static MemberType
Returns the enum constant of this class with the specified name.static MemberType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Constructor
-
Field
-
Method
-
TypeInfo
-
Custom
-
NestedType
-
All
-
-
Field Details
-
mask
final int mask -
constructors
-
fields
-
methods
-
types
-
custom
-
nestedTypes
-
-
Constructor Details
-
MemberType
private MemberType(int mask)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
constructorsOnly
-
fieldsOnly
-
methodsOnly
-
typesOnly
-
customOnly
-
nestedTypesOnly
-
of
-
of
-
of
-
of
-
of
public static Set<MemberType> of(MemberType m1, MemberType m2, MemberType m3, MemberType m4, MemberType m5) -
of
-
mask
-