| Enum Constant and Description |
|---|
CALL_SITE_REF
call site reference index
|
FIELD_OFFSET
direct field offset (for static linked field accesses)
|
FIELD_REF
field reference index
|
INLINE_METHOD
inline method index (for inline linked method invocations)
|
METHOD_AND_PROTO_REF
method index and a proto index
|
METHOD_HANDLE_REF
method handle reference index (for loading constant method handles)
|
METHOD_REF
method reference index
|
NONE
no index used
|
PROTO_REF
proto reference index (for loading constant proto ref)
|
STRING_REF
string reference index
|
TYPE_REF
type reference index
|
UNKNOWN
"Unknown." Used for undefined opcodes.
|
VARIES
"It depends." Used for
throw-verification-error. |
VTABLE_OFFSET
direct vtable offset (for static linked method invocations)
|
| Modifier and Type | Method and Description |
|---|---|
static IndexType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType UNKNOWN
public static final IndexType NONE
public static final IndexType VARIES
throw-verification-error.public static final IndexType TYPE_REF
public static final IndexType STRING_REF
public static final IndexType METHOD_REF
public static final IndexType FIELD_REF
public static final IndexType METHOD_AND_PROTO_REF
public static final IndexType CALL_SITE_REF
public static final IndexType INLINE_METHOD
public static final IndexType VTABLE_OFFSET
public static final IndexType FIELD_OFFSET
public static final IndexType METHOD_HANDLE_REF
public static final IndexType PROTO_REF
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 nullCopyright © 2020. All Rights Reserved.