net.sf.rej.java
Enum Field.OffsetTag
java.lang.Object
java.lang.Enum<Field.OffsetTag>
net.sf.rej.java.Field.OffsetTag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Field.OffsetTag>
- Enclosing class:
- Field
public static enum Field.OffsetTag
- extends java.lang.Enum<Field.OffsetTag>
Method Summary |
static Field.OffsetTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Field.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 Field.OffsetTag ACCESS_FLAGS
FIELD_NAME
public static final Field.OffsetTag FIELD_NAME
FIELD_DESCRIPTOR
public static final Field.OffsetTag FIELD_DESCRIPTOR
ATTRIBUTES
public static final Field.OffsetTag ATTRIBUTES
values
public static final Field.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(Field.OffsetTag c : Field.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 Field.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