public abstract class ConstantPoolReader
extends java.lang.Object
| Constructor and Description |
|---|
ConstantPoolReader() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getConstantPoolClassType(int index)
Retrieve the value of a CONSTANT_Class constant pool item in JVM internal class format (e.g.,
java/lang/Object).
|
abstract double |
getConstantPoolDouble(int index)
Retrieve the value of a CONSTANT_Double constant pool item.
|
abstract BootstrapMethodsReader.BootstrapMethod |
getConstantPoolDynamicBootstrap(int index) |
abstract java.lang.String |
getConstantPoolDynamicName(int index) |
abstract java.lang.String |
getConstantPoolDynamicType(int index) |
abstract float |
getConstantPoolFloat(int index)
Retrieve the value of a CONSTANT_Float constant pool item.
|
abstract java.lang.String |
getConstantPoolHandleClassType(int index)
Retrieve the class part of the CONSTANT_FieldRef, CONSTANT_MethodRef, or
CONSTANT_InterfaceMethodRef constant pool item pointed to by a CONSTANT_MethodHandle entry.
|
abstract byte |
getConstantPoolHandleKind(int index) |
abstract java.lang.String |
getConstantPoolHandleName(int index)
Retrieve the name part of the CONSTANT_FieldRef, CONSTANT_MethodRef, or
CONSTANT_InterfaceMethodRef constant pool item pointed to by a CONSTANT_MethodHandle entry.
|
abstract java.lang.String |
getConstantPoolHandleType(int index)
Retrieve the type part of the CONSTANT_FieldRef, CONSTANT_MethodRef, or
CONSTANT_InterfaceMethodRef constant pool item pointed to by a CONSTANT_MethodHandle entry.
|
abstract int |
getConstantPoolInteger(int index)
Retrieve the value of a CONSTANT_Integer constant pool item.
|
abstract int |
getConstantPoolItemType(int index)
Retrieve the JVM constant pool item type (a Constants.CONSTANT_xxx value).
|
abstract long |
getConstantPoolLong(int index)
Retrieve the value of a CONSTANT_Long constant pool item.
|
abstract java.lang.String |
getConstantPoolMemberClassType(int index)
Retrieve the class part of a CONSTANT_FieldRef, CONSTANT_MethodRef, or
CONSTANT_InterfaceMethodRef constant pool item, in JVM internal class format (e.g.,
java/lang/Object).
|
abstract java.lang.String |
getConstantPoolMemberName(int index)
Retrieve the name part of a CONSTANT_FieldRef, CONSTANT_MethodRef, or
CONSTANT_InterfaceMethodRef constant pool item, This method should be overriden by a
toolkit-specific subclass.
|
abstract java.lang.String |
getConstantPoolMemberType(int index)
Retrieve the type part of a CONSTANT_FieldRef, CONSTANT_MethodRef, or
CONSTANT_InterfaceMethodRef constant pool item, in JVM internal type format (e.g.,
Ljava/lang/Object;).
|
abstract java.lang.String |
getConstantPoolMethodType(int index)
Retrieve the value of a CONSTANT_MethodType constant pool item.
|
abstract java.lang.String |
getConstantPoolString(int index)
Retrieve the value of a CONSTANT_String constant pool item.
|
public abstract int getConstantPoolItemType(int index)
index - the constant pool item to examinepublic abstract int getConstantPoolInteger(int index)
index - the constant pool item to examinepublic abstract float getConstantPoolFloat(int index)
index - the constant pool item to examinepublic abstract long getConstantPoolLong(int index)
index - the constant pool item to examinepublic abstract double getConstantPoolDouble(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolString(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolMethodType(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolClassType(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolMemberClassType(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolMemberName(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolMemberType(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolHandleClassType(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolHandleName(int index)
index - the constant pool item to examinepublic abstract java.lang.String getConstantPoolHandleType(int index)
index - the constant pool item to examinepublic abstract byte getConstantPoolHandleKind(int index)
public abstract BootstrapMethodsReader.BootstrapMethod getConstantPoolDynamicBootstrap(int index)
public abstract java.lang.String getConstantPoolDynamicName(int index)
public abstract java.lang.String getConstantPoolDynamicType(int index)