Enum Class ExecutableMode

java.lang.Object
java.lang.Enum<ExecutableMode>
cn.taketoday.aot.hint.ExecutableMode
所有已实现的接口:
Serializable, Comparable<ExecutableMode>, Constable

public enum ExecutableMode extends Enum<ExecutableMode>
Represent the need of reflection for a given Executable.
从以下版本开始:
4.0
作者:
Stephane Nicoll
  • 枚举常量详细资料

    • INTROSPECT

      public static final ExecutableMode INTROSPECT
      Only retrieving the Executable and its metadata is required.
    • INVOKE

      public static final ExecutableMode INVOKE
      Full reflection support is required, including the ability to invoke the Executable.
  • 构造器详细资料

    • ExecutableMode

      private ExecutableMode()
  • 方法详细资料

    • values

      public static ExecutableMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExecutableMode valueOf(String name)
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • includes

      boolean includes(@Nullable ExecutableMode other)
      Specify if this mode already includes the specified other mode.
      参数:
      other - the other mode to check
      返回:
      true if this mode includes the other mode