Enum Class HintType

java.lang.Object
java.lang.Enum<HintType>
org.springframework.aot.agent.HintType
All Implemented Interfaces:
Serializable, Comparable<HintType>, Constable

public enum HintType extends Enum<HintType>
Main types of RuntimeHints.

This allows to sort recorded invocations into hint categories.

Since:
6.0
Author:
Brian Clozel
  • Enum Constant Details

    • REFLECTION

      public static final HintType REFLECTION
      Reflection hint, as described by ReflectionHints.
    • RESOURCE_PATTERN

      public static final HintType RESOURCE_PATTERN
      Resource pattern hint, as described by ResourceHints.resourcePatternHints().
    • RESOURCE_BUNDLE

      public static final HintType RESOURCE_BUNDLE
      Resource bundle hint, as described by ResourceHints.resourceBundleHints().
    • JAVA_SERIALIZATION

      public static final HintType JAVA_SERIALIZATION
      Java serialization hint, as described by JavaSerializationHint.
    • JDK_PROXIES

      public static final HintType JDK_PROXIES
      JDK proxies hint, as described by ProxyHints.jdkProxyHints().
  • Method Details

    • values

      public static HintType[] 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

      public static HintType 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.)
      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 name
      NullPointerException - if the argument is null
    • hintClassName

      public String hintClassName()