java.io.Serializable, java.lang.Comparable<FieldMetrics.Kind>public static enum FieldMetrics.Kind extends java.lang.Enum<FieldMetrics.Kind>
| Enum Constant | Description |
|---|---|
ANNOTATION_TYPE_ELEMENT |
An annotation type element.
|
ENUM_CONSTANT |
An enum constant without a class body, which effectively is a static field.
|
INSTANCE_FIELD |
A non-static field in a class or an enum.
|
STATIC_FIELD |
A static field in a class, interface, enum or annotation.
|
| Modifier and Type | Method | Description |
|---|---|---|
static FieldMetrics.Kind |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FieldMetrics.Kind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldMetrics.Kind STATIC_FIELD
public static final FieldMetrics.Kind INSTANCE_FIELD
public static final FieldMetrics.Kind ENUM_CONSTANT
public static final FieldMetrics.Kind ANNOTATION_TYPE_ELEMENT
public static FieldMetrics.Kind[] values()
for (FieldMetrics.Kind c : FieldMetrics.Kind.values()) System.out.println(c);
public static FieldMetrics.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