public static enum DeclarationInfo.Kind extends java.lang.Enum<DeclarationInfo.Kind>
Enum Constant and Description |
---|
CLASS |
FIELD |
METHOD |
PACKAGE |
PARAMETER |
RECORD_COMPONENT |
Modifier and Type | Method and Description |
---|---|
static DeclarationInfo.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeclarationInfo.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeclarationInfo.Kind PACKAGE
public static final DeclarationInfo.Kind CLASS
public static final DeclarationInfo.Kind METHOD
public static final DeclarationInfo.Kind PARAMETER
public static final DeclarationInfo.Kind FIELD
public static final DeclarationInfo.Kind RECORD_COMPONENT
public static DeclarationInfo.Kind[] values()
for (DeclarationInfo.Kind c : DeclarationInfo.Kind.values()) System.out.println(c);
public static DeclarationInfo.Kind 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