public class ConstantPool
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ConstantPool.RawTmp |
Modifier and Type | Field and Description |
---|---|
private ClassCache |
classCache |
private ClassFile |
classFile |
private java.lang.String |
comparisonKey |
private DCCommonState |
dcCommonState |
private boolean |
dynamicConstants |
private java.util.List<ConstantPoolEntry> |
entries |
private int |
idx |
private boolean |
isLoaded |
private long |
length |
private static java.util.logging.Logger |
logger |
private Options |
options |
private static int |
sidx |
Constructor and Description |
---|
ConstantPool(ClassFile classFile,
DCCommonState dcCommonState,
ByteData raw,
int count) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ClassCache |
getClassCache() |
ConstantPoolEntryClass |
getClassEntry(int index) |
private java.lang.String |
getComparisonKey() |
DCCommonState |
getDCCommonState() |
ConstantPoolEntry |
getEntry(int index) |
(package private) ConstantPoolEntryFieldRef |
getFieldRefEntry(int index) |
ConstantPoolEntryMethodHandle |
getMethodHandleEntry(int index) |
(package private) ConstantPoolEntryMethodRef |
getMethodRefEntry(int index) |
ConstantPoolEntryModuleInfo |
getModuleEntry(int index) |
ConstantPoolEntryNameAndType |
getNameAndTypeEntry(int index) |
ConstantPoolEntryPackageInfo |
getPackageEntry(int index) |
long |
getRawByteLength() |
ConstantPoolEntryUTF8 |
getUTF8Entry(int index) |
int |
hashCode() |
boolean |
isDynamicConstants() |
boolean |
isLoaded() |
private ConstantPool.RawTmp |
processRaw(ByteData raw,
int count) |
java.lang.String |
toString() |
private static final java.util.logging.Logger logger
private final long length
private final java.util.List<ConstantPoolEntry> entries
private final Options options
private final DCCommonState dcCommonState
private final ClassCache classCache
private final ClassFile classFile
private java.lang.String comparisonKey
private boolean isLoaded
private final int idx
private static int sidx
private final boolean dynamicConstants
public ConstantPool(ClassFile classFile, DCCommonState dcCommonState, ByteData raw, int count)
public DCCommonState getDCCommonState()
public boolean isLoaded()
public boolean isDynamicConstants()
private ConstantPool.RawTmp processRaw(ByteData raw, int count)
public long getRawByteLength()
public ConstantPoolEntry getEntry(int index)
public ConstantPoolEntryUTF8 getUTF8Entry(int index)
public ConstantPoolEntryNameAndType getNameAndTypeEntry(int index)
public ConstantPoolEntryMethodHandle getMethodHandleEntry(int index)
ConstantPoolEntryMethodRef getMethodRefEntry(int index)
ConstantPoolEntryFieldRef getFieldRefEntry(int index)
public ConstantPoolEntryClass getClassEntry(int index)
public ConstantPoolEntryModuleInfo getModuleEntry(int index)
public ConstantPoolEntryPackageInfo getPackageEntry(int index)
public ClassCache getClassCache()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
private java.lang.String getComparisonKey()