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

public final Enum ExecutableMode

extends Enum<ExecutableMode>
Class Inheritance
Imports
java.lang.reflect.Executable, org.springframework.lang.Nullable

Represent the need of reflection for a given Executable.
Author
Stephane Nicoll
Since
6.0

Field Summary

Modifier and TypeField and Description
public static final ExecutableMode
INTROSPECT

Only retrieving the Executable and its metadata is required.

public static final ExecutableMode
INVOKE

Full reflection support is required, including the ability to invoke the Executable.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean

Returns:

true if this mode includes the other mode
includes
(ExecutableMode
the other mode to check
other
)

Specify if this mode already includes the specified other mode.

public static ExecutableMode
public static ExecutableMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INTROSPECTback to summary
public static final ExecutableMode INTROSPECT

Only retrieving the Executable and its metadata is required.

INVOKEback to summary
public static final ExecutableMode INVOKE

Full reflection support is required, including the ability to invoke the Executable.

Constructor Detail

ExecutableModeback to summary
private ExecutableMode()

Method Detail

includesback to summary
pack-priv boolean includes(ExecutableMode other)

Specify if this mode already includes the specified other mode.

Parameters
other:ExecutableMode

the other mode to check

Returns:boolean

true if this mode includes the other mode

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