private static enum JavaWriter.Scope extends java.lang.Enum<JavaWriter.Scope>
Enum Constant and Description |
---|
ABSTRACT_METHOD |
ANNOTATION_ARRAY_VALUE |
ANNOTATION_ATTRIBUTE |
CONSTRUCTOR |
CONTROL_FLOW |
INITIALIZER |
INTERFACE_DECLARATION |
NON_ABSTRACT_METHOD |
TYPE_DECLARATION |
Modifier and Type | Method and Description |
---|---|
static JavaWriter.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaWriter.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaWriter.Scope TYPE_DECLARATION
public static final JavaWriter.Scope INTERFACE_DECLARATION
public static final JavaWriter.Scope ABSTRACT_METHOD
public static final JavaWriter.Scope NON_ABSTRACT_METHOD
public static final JavaWriter.Scope CONSTRUCTOR
public static final JavaWriter.Scope CONTROL_FLOW
public static final JavaWriter.Scope ANNOTATION_ATTRIBUTE
public static final JavaWriter.Scope ANNOTATION_ARRAY_VALUE
public static final JavaWriter.Scope INITIALIZER
public static JavaWriter.Scope[] values()
for (JavaWriter.Scope c : JavaWriter.Scope.values()) System.out.println(c);
public static JavaWriter.Scope 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