Enum Class ElementKind

java.lang.Object
java.lang.Enum<ElementKind>
io.helidon.common.types.ElementKind
All Implemented Interfaces:
Serializable, Comparable<ElementKind>, Constable

public enum ElementKind extends Enum<ElementKind>
Kind of element. Order is significant, as it is used downstream in comparator of injection point ids.
  • Enum Constant Details

    • CONSTRUCTOR

      public static final ElementKind CONSTRUCTOR
      Constructor element type kind. See javax.lang.model.element.ElementKind#CONSTRUCTOR
    • FIELD

      public static final ElementKind FIELD
      Field element type kind. See javax.lang.model.element.ElementKind#FIELD
    • METHOD

      public static final ElementKind METHOD
      Method element type kind. See javax.lang.model.element.ElementKind#METHOD
    • PARAMETER

      public static final ElementKind PARAMETER
      Parameter element type kind. See javax.lang.model.element.ElementKind#PARAMETER
    • INTERFACE

      public static final ElementKind INTERFACE
      Interface element type kind. See javax.lang.model.element.ElementKind#INTERFACE
    • CLASS

      public static final ElementKind CLASS
      Interface element type kind. See javax.lang.model.element.ElementKind#CLASS
    • ENUM

      public static final ElementKind ENUM
      Enum element type kind. See javax.lang.model.element.ElementKind#ENUM
    • ANNOTATION_TYPE

      public static final ElementKind ANNOTATION_TYPE
      Annotation element type kind. See javax.lang.model.element.ElementKind#ANNOTATION_TYPE
    • PACKAGE

      public static final ElementKind PACKAGE
      Package element type kind. See javax.lang.model.element.ElementKind#PACKAGE
    • RECORD

      public static final ElementKind RECORD
      Record element type kind (since Java 16). See javax.lang.model.element.ElementKind#RECORD
    • RECORD_COMPONENT

      public static final ElementKind RECORD_COMPONENT
      Component of a record.
    • STATIC_INIT

      public static final ElementKind STATIC_INIT
      Static initialization block.
    • INSTANCE_INIT

      public static final ElementKind INSTANCE_INIT
      Instance initialization block.
    • ENUM_CONSTANT

      public static final ElementKind ENUM_CONSTANT
      Enumeration constant.
    • LOCAL_VARIABLE

      public static final ElementKind LOCAL_VARIABLE
      Local variable.
    • OTHER

      public static final ElementKind OTHER
      Not the stuff you are looking for.
  • Method Details

    • values

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