public enum ElementKind extends java.lang.Enum<ElementKind>
| Enum Constant and Description |
|---|
CLASS |
CLASS_TYPE_ALIAS |
COMPILATION_UNIT |
CONSTRUCTOR |
ENUM |
ENUM_CONSTANT |
FIELD |
FUNCTION |
FUNCTION_TYPE_ALIAS |
GETTER |
LABEL |
LIBRARY |
LOCAL_VARIABLE |
METHOD |
PARAMETER |
PREFIX |
SETTER |
TOP_LEVEL_VARIABLE |
TYPE_PARAMETER |
UNIT_TEST_GROUP |
UNIT_TEST_TEST |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ElementKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElementKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementKind CLASS
public static final ElementKind CLASS_TYPE_ALIAS
public static final ElementKind COMPILATION_UNIT
public static final ElementKind CONSTRUCTOR
public static final ElementKind ENUM
public static final ElementKind ENUM_CONSTANT
public static final ElementKind FIELD
public static final ElementKind FUNCTION
public static final ElementKind FUNCTION_TYPE_ALIAS
public static final ElementKind GETTER
public static final ElementKind LABEL
public static final ElementKind LIBRARY
public static final ElementKind LOCAL_VARIABLE
public static final ElementKind METHOD
public static final ElementKind PARAMETER
public static final ElementKind PREFIX
public static final ElementKind SETTER
public static final ElementKind TOP_LEVEL_VARIABLE
public static final ElementKind TYPE_PARAMETER
public static final ElementKind UNIT_TEST_GROUP
public static final ElementKind UNIT_TEST_TEST
public static final ElementKind UNKNOWN
public static ElementKind[] values()
for (ElementKind c : ElementKind.values()) System.out.println(c);
public static ElementKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null