public static enum TypeSpec.Kind extends Enum<TypeSpec.Kind>
| Enum Constant and Description |
|---|
ANNOTATION |
CLASS |
ENUM |
INTERFACE |
| Modifier and Type | Method and Description |
|---|---|
static TypeSpec.Kind |
valueOf(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
public static TypeSpec.Kind[] values()
for (TypeSpec.Kind c : TypeSpec.Kind.values()) System.out.println(c);
public static TypeSpec.Kind 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 © 2016 Square, Inc.. All Rights Reserved.