net.sf.rej.java
Enum ClassFile.OffsetTag
java.lang.Object
java.lang.Enum<ClassFile.OffsetTag>
net.sf.rej.java.ClassFile.OffsetTag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ClassFile.OffsetTag>
- Enclosing class:
- ClassFile
public static enum ClassFile.OffsetTag
- extends java.lang.Enum<ClassFile.OffsetTag>
Method Summary |
static ClassFile.OffsetTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ClassFile.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 |
MAGIC
public static final ClassFile.OffsetTag MAGIC
VERSION
public static final ClassFile.OffsetTag VERSION
MINOR_VERSION
public static final ClassFile.OffsetTag MINOR_VERSION
MAJOR_VERSION
public static final ClassFile.OffsetTag MAJOR_VERSION
CONSTANT_POOL
public static final ClassFile.OffsetTag CONSTANT_POOL
ACCESS_FLAGS
public static final ClassFile.OffsetTag ACCESS_FLAGS
THIS_CLASS
public static final ClassFile.OffsetTag THIS_CLASS
SUPER_CLASS
public static final ClassFile.OffsetTag SUPER_CLASS
INTERFACE_COUNT
public static final ClassFile.OffsetTag INTERFACE_COUNT
INTERFACE_DATA
public static final ClassFile.OffsetTag INTERFACE_DATA
FIELD_COUNT
public static final ClassFile.OffsetTag FIELD_COUNT
FIELD_DATA
public static final ClassFile.OffsetTag FIELD_DATA
METHOD_COUNT
public static final ClassFile.OffsetTag METHOD_COUNT
METHOD_DATA
public static final ClassFile.OffsetTag METHOD_DATA
ATTRIBUTES
public static final ClassFile.OffsetTag ATTRIBUTES
values
public static final ClassFile.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(ClassFile.OffsetTag c : ClassFile.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 ClassFile.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