Package org.springframework.aot.hint
Enum Class MemberCategory
- All Implemented Interfaces:
Serializable
,Comparable<MemberCategory>
,Constable
Predefined
Member
categories.- Since:
- 6.0
- Author:
- Andy Clement, Sebastien Deleuze, Stephane Nicoll
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA category that represents all inner classes.A category that represents declared fields: all fields defined by the class but not inherited fields.A category that defines all constructors can be introspected but not invoked.A category that defines all methods, excluding inherited ones, can be introspected but not invoked.A category that defines public constructors can be introspected but not invoked.A category that defines public methods, including inherited ones, can be introspected but not invoked.A category that defines all constructors can be invoked.A category that defines all methods, excluding inherited ones, can be invoked.A category that defines public constructors can be invoked.A category that defines public methods, including inherited ones, can be invoked.A category that represents public inner classes.A category that represents public fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemberCategory
Returns the enum constant of this class with the specified name.static MemberCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC_FIELDS
A category that represents public fields.- See Also:
-
DECLARED_FIELDS
A category that represents declared fields: all fields defined by the class but not inherited fields.- See Also:
-
INTROSPECT_PUBLIC_CONSTRUCTORS
A category that defines public constructors can be introspected but not invoked. -
INTROSPECT_DECLARED_CONSTRUCTORS
A category that defines all constructors can be introspected but not invoked. -
INVOKE_PUBLIC_CONSTRUCTORS
A category that defines public constructors can be invoked.- See Also:
-
INVOKE_DECLARED_CONSTRUCTORS
A category that defines all constructors can be invoked. -
INTROSPECT_PUBLIC_METHODS
A category that defines public methods, including inherited ones, can be introspected but not invoked.- See Also:
-
INTROSPECT_DECLARED_METHODS
A category that defines all methods, excluding inherited ones, can be introspected but not invoked. -
INVOKE_PUBLIC_METHODS
A category that defines public methods, including inherited ones, can be invoked.- See Also:
-
INVOKE_DECLARED_METHODS
A category that defines all methods, excluding inherited ones, can be invoked. -
PUBLIC_CLASSES
A category that represents public inner classes.Contrary to other categories, this does not register any particular reflection for inner classes but rather makes sure they are available via a call to
Class.getClasses()
. -
DECLARED_CLASSES
A category that represents all inner classes.Contrary to other categories, this does not register any particular reflection for inner classes but rather makes sure they are available via a call to
Class.getDeclaredClasses()
.
-
-
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
-