java.io.Serializable, java.lang.Comparable<TypeMetrics.Kind>public static enum TypeMetrics.Kind extends java.lang.Enum<TypeMetrics.Kind>
| Enum Constant | Description |
|---|---|
ANNOTATION |
An annotation.
|
ANONYMOUS_CLASS |
An anonymous class.
|
CLASS |
A class.
|
ENUM |
An enum.
|
ENUM_CONSTANT |
An enum constant with a class body, which effectively is a subclass of the enclosing
enum.
|
INTERFACE |
An interface.
|
| Modifier and Type | Method | Description |
|---|---|---|
static TypeMetrics.Kind |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TypeMetrics.Kind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeMetrics.Kind CLASS
public static final TypeMetrics.Kind INTERFACE
public static final TypeMetrics.Kind ENUM
public static final TypeMetrics.Kind ENUM_CONSTANT
public static final TypeMetrics.Kind ANNOTATION
public static final TypeMetrics.Kind ANONYMOUS_CLASS
public static TypeMetrics.Kind[] values()
for (TypeMetrics.Kind c : TypeMetrics.Kind.values()) System.out.println(c);
public static TypeMetrics.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