net.sf.rej.java
Enum Method.OffsetTag
java.lang.Object
java.lang.Enum<Method.OffsetTag>
net.sf.rej.java.Method.OffsetTag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Method.OffsetTag>
- Enclosing class:
- Method
public static enum Method.OffsetTag
- extends java.lang.Enum<Method.OffsetTag>
Method Summary |
static Method.OffsetTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Method.OffsetTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ACCESS_FLAGS
public static final Method.OffsetTag ACCESS_FLAGS
METHOD_NAME
public static final Method.OffsetTag METHOD_NAME
METHOD_DESCRIPTOR
public static final Method.OffsetTag METHOD_DESCRIPTOR
ATTRIBUTES
public static final Method.OffsetTag ATTRIBUTES
values
public static final Method.OffsetTag[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Method.OffsetTag c : Method.OffsetTag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Method.OffsetTag valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name