public enum JavaElementKind extends java.lang.Enum<JavaElementKind>
Enum Constant and Description |
---|
ABSTRACT_METHOD |
ANNOTATION |
CLASS |
CONSTANT |
CONSTRUCTOR |
ENUM |
ENUM_CONSTANT |
EXPRESSION |
FIELD |
INITIALIZER |
INTERFACE |
LOCAL_VARIABLE |
METHOD |
MODULE |
PACKAGE |
PARAMETER |
PATTERN_VARIABLE |
RECORD |
RECORD_COMPONENT |
STATEMENT |
UNKNOWN |
VARIABLE |
Modifier and Type | Method and Description |
---|---|
static JavaElementKind |
fromElement(PsiElement element) |
java.lang.String |
object() |
java.lang.String |
subject() |
static JavaElementKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaElementKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaElementKind ABSTRACT_METHOD
public static final JavaElementKind ANNOTATION
public static final JavaElementKind CLASS
public static final JavaElementKind CONSTANT
public static final JavaElementKind CONSTRUCTOR
public static final JavaElementKind ENUM
public static final JavaElementKind ENUM_CONSTANT
public static final JavaElementKind EXPRESSION
public static final JavaElementKind FIELD
public static final JavaElementKind INITIALIZER
public static final JavaElementKind INTERFACE
public static final JavaElementKind LOCAL_VARIABLE
public static final JavaElementKind METHOD
public static final JavaElementKind MODULE
public static final JavaElementKind PACKAGE
public static final JavaElementKind PARAMETER
public static final JavaElementKind PATTERN_VARIABLE
public static final JavaElementKind RECORD
public static final JavaElementKind RECORD_COMPONENT
public static final JavaElementKind STATEMENT
public static final JavaElementKind UNKNOWN
public static final JavaElementKind VARIABLE
public static JavaElementKind[] values()
for (JavaElementKind c : JavaElementKind.values()) System.out.println(c);
public static JavaElementKind 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 nullpublic java.lang.String subject()
public java.lang.String object()
public static JavaElementKind fromElement(PsiElement element)