Top Description Fields Constructors Methods
org.springframework.aot.hint

public final Enum MemberCategory

extends Enum<MemberCategory>
Class Inheritance
Imports
java.lang.reflect.Constructor, .Field, .Member, .Method

Predefined Member categories.
Authors
Andy Clement, Sebastien Deleuze, Stephane Nicoll
Since
6.0

Field Summary

Modifier and TypeField and Description
public static final MemberCategory
DECLARED_CLASSES

A category that represents all inner classes.

public static final MemberCategory
DECLARED_FIELDS

A category that represents declared fields: all fields defined by the class but not inherited fields.

public static final MemberCategory
INTROSPECT_DECLARED_CONSTRUCTORS

A category that defines all constructors can be introspected but not invoked.

public static final MemberCategory
INTROSPECT_DECLARED_METHODS

A category that defines all methods, excluding inherited ones, can be introspected but not invoked.

public static final MemberCategory
INTROSPECT_PUBLIC_CONSTRUCTORS

A category that defines public constructors can be introspected but not invoked.

public static final MemberCategory
INTROSPECT_PUBLIC_METHODS

A category that defines public methods, including inherited ones, can be introspected but not invoked.

public static final MemberCategory
INVOKE_DECLARED_CONSTRUCTORS

A category that defines all constructors can be invoked.

public static final MemberCategory
INVOKE_DECLARED_METHODS

A category that defines all methods, excluding inherited ones, can be invoked.

public static final MemberCategory
INVOKE_PUBLIC_CONSTRUCTORS

A category that defines public constructors can be invoked.

public static final MemberCategory
INVOKE_PUBLIC_METHODS

A category that defines public methods, including inherited ones, can be invoked.

public static final MemberCategory
PUBLIC_CLASSES

A category that represents public inner classes.

public static final MemberCategory
PUBLIC_FIELDS

A category that represents public fields.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MemberCategory
public static MemberCategory[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DECLARED_CLASSESback to summary
public static final MemberCategory 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.

DECLARED_FIELDSback to summary
public static final MemberCategory DECLARED_FIELDS

A category that represents declared fields: all fields defined by the class but not inherited fields.

See Also
Class#getDeclaredFields()
INTROSPECT_DECLARED_CONSTRUCTORSback to summary
public static final MemberCategory INTROSPECT_DECLARED_CONSTRUCTORS

A category that defines all constructors can be introspected but not invoked.

See Also
Class#getDeclaredConstructors(), ExecutableMode#INTROSPECT
INTROSPECT_DECLARED_METHODSback to summary
public static final MemberCategory INTROSPECT_DECLARED_METHODS

A category that defines all methods, excluding inherited ones, can be introspected but not invoked.

See Also
Class#getDeclaredMethods(), ExecutableMode#INTROSPECT
INTROSPECT_PUBLIC_CONSTRUCTORSback to summary
public static final MemberCategory INTROSPECT_PUBLIC_CONSTRUCTORS

A category that defines public constructors can be introspected but not invoked.

See Also
Class#getConstructors(), ExecutableMode#INTROSPECT
INTROSPECT_PUBLIC_METHODSback to summary
public static final MemberCategory INTROSPECT_PUBLIC_METHODS

A category that defines public methods, including inherited ones, can be introspected but not invoked.

See Also
Class#getMethods(), ExecutableMode#INTROSPECT
INVOKE_DECLARED_CONSTRUCTORSback to summary
public static final MemberCategory INVOKE_DECLARED_CONSTRUCTORS

A category that defines all constructors can be invoked.

See Also
Class#getDeclaredConstructors(), ExecutableMode#INVOKE
INVOKE_DECLARED_METHODSback to summary
public static final MemberCategory INVOKE_DECLARED_METHODS

A category that defines all methods, excluding inherited ones, can be invoked.

See Also
Class#getDeclaredMethods(), ExecutableMode#INVOKE
INVOKE_PUBLIC_CONSTRUCTORSback to summary
public static final MemberCategory INVOKE_PUBLIC_CONSTRUCTORS

A category that defines public constructors can be invoked.

See Also
Class#getConstructors(), ExecutableMode#INVOKE
INVOKE_PUBLIC_METHODSback to summary
public static final MemberCategory INVOKE_PUBLIC_METHODS

A category that defines public methods, including inherited ones, can be invoked.

See Also
Class#getMethods(), ExecutableMode#INVOKE
PUBLIC_CLASSESback to summary
public static final MemberCategory 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.

PUBLIC_FIELDSback to summary
public static final MemberCategory PUBLIC_FIELDS

A category that represents public fields.

See Also
Class#getFields()

Constructor Detail

MemberCategoryback to summary
private MemberCategory()

Method Detail

valueOfback to summary
public static MemberCategory valueOf(String name)
valuesback to summary
public static MemberCategory[] values()