public interface ConstantPoolPatch
| Modifier and Type | Method and Description |
|---|---|
Object |
lookupConstant(int cpi,
boolean resolve)
Looks up a constant at the specified index.
|
JavaMethod |
lookupMethod(int index,
int opcode,
ResolvedJavaMethod caller) |
JavaMethod lookupMethod(int index,
int opcode,
ResolvedJavaMethod caller)
Object lookupConstant(int cpi, boolean resolve)
resolve == false and the denoted constant is of type JVM_CONSTANT_Dynamic,
JVM_CONSTANT_MethodHandle or JVM_CONSTANT_MethodType and it's not yet
resolved then null is returned.cpi - the constant pool indexConstant or JavaType instance representing the constant pool
entry