java.io.Serializable, java.lang.Comparable<MethodMetrics.Kind>public static enum MethodMetrics.Kind extends java.lang.Enum<MethodMetrics.Kind>
| Enum Constant | Description |
|---|---|
ABSTRACT_METHOD |
An abstract method in a class, interface, or enum.
|
CONSTRUCTOR |
A constructor in a class.
|
DEFAULT_METHOD |
A default method in an interface.
|
INSTANCE_INITIALIZER |
A non-static initializer in a class or an enum.
|
INSTANCE_METHOD |
A non-static method in a class or an enum.
|
NATIVE_METHOD |
A native method in a class or an enum.
|
STATIC_INITIALIZER |
A static initializer in a class or an enum.
|
STATIC_METHOD |
A static method in a class, interface or an enum.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MethodMetrics.Kind |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MethodMetrics.Kind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodMetrics.Kind CONSTRUCTOR
public static final MethodMetrics.Kind INSTANCE_INITIALIZER
public static final MethodMetrics.Kind STATIC_INITIALIZER
public static final MethodMetrics.Kind INSTANCE_METHOD
public static final MethodMetrics.Kind STATIC_METHOD
public static final MethodMetrics.Kind ABSTRACT_METHOD
public static final MethodMetrics.Kind DEFAULT_METHOD
public static final MethodMetrics.Kind NATIVE_METHOD
public static MethodMetrics.Kind[] values()
for (MethodMetrics.Kind c : MethodMetrics.Kind.values()) System.out.println(c);
public static MethodMetrics.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