public static enum TypeSpec.Kind extends java.lang.Enum<TypeSpec.Kind>
| Enum Constant and Description |
|---|
ANNOTATION |
CLASS |
ENUM |
INTERFACE |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<javax.lang.model.element.Modifier> |
asMemberModifiers |
private java.util.Set<javax.lang.model.element.Modifier> |
implicitFieldModifiers |
private java.util.Set<javax.lang.model.element.Modifier> |
implicitMethodModifiers |
private java.util.Set<javax.lang.model.element.Modifier> |
implicitTypeModifiers |
| Modifier and Type | Method and Description |
|---|---|
static TypeSpec.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeSpec.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeSpec.Kind CLASS
public static final TypeSpec.Kind INTERFACE
public static final TypeSpec.Kind ENUM
public static final TypeSpec.Kind ANNOTATION
private final java.util.Set<javax.lang.model.element.Modifier> implicitFieldModifiers
private final java.util.Set<javax.lang.model.element.Modifier> implicitMethodModifiers
private final java.util.Set<javax.lang.model.element.Modifier> implicitTypeModifiers
private final java.util.Set<javax.lang.model.element.Modifier> asMemberModifiers
public static TypeSpec.Kind[] values()
for (TypeSpec.Kind c : TypeSpec.Kind.values()) System.out.println(c);
public static TypeSpec.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