Enum Class UnresolvedTypeKind

java.lang.Object
java.lang.Enum<UnresolvedTypeKind>
io.micronaut.inject.ast.UnresolvedTypeKind
All Implemented Interfaces:
Serializable, Comparable<UnresolvedTypeKind>, Constable

public enum UnresolvedTypeKind extends Enum<UnresolvedTypeKind>
Used in conjunction with ClassElement.hasUnresolvedTypes(UnresolvedTypeKind...) to support checking whether a type has unresolved type references.

Currently only checking the interface and class hierarchy is supported but this enum could be extended further in the future to support other cases.

Since:
4.7.18
See Also:
  • Enum Constant Details

    • INTERFACE

      public static final UnresolvedTypeKind INTERFACE
      An interface type reference.
    • SUPERCLASS

      public static final UnresolvedTypeKind SUPERCLASS
      A super class type reference.
  • Method Details

    • values

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