@Beta public enum JavaIdentifier extends Enum<JavaIdentifier>
Enum Constant and Description |
---|
CLASS |
CONSTANT |
ENUM |
ENUM_VALUE |
INTERFACE |
METHOD |
PACKAGE |
VARIABLE |
Modifier and Type | Method and Description |
---|---|
static JavaIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaIdentifier CLASS
public static final JavaIdentifier INTERFACE
public static final JavaIdentifier ENUM
public static final JavaIdentifier ENUM_VALUE
public static final JavaIdentifier METHOD
public static final JavaIdentifier VARIABLE
public static final JavaIdentifier CONSTANT
public static final JavaIdentifier PACKAGE
public static JavaIdentifier[] values()
for (JavaIdentifier c : JavaIdentifier.values()) System.out.println(c);
public static JavaIdentifier valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 OpenDaylight. All rights reserved.