public class CPInstruction extends Instruction
Modifier and Type | Field and Description |
---|---|
protected ConstantPool |
cp |
Modifier | Constructor and Description |
---|---|
protected |
CPInstruction(byte[] bytes,
ConstantPool cp) |
Modifier and Type | Method and Description |
---|---|
ConstantPool |
getConstantPool()
Get ConstantPool
|
ConstantPool.Entry |
getEntry()
Get the ConstantPool entry, this CPInstruction is referencing.
|
int |
getIndex()
Gets the index to the constant pool, that is referenced by this
CPInstruction.
|
void |
replaceConstantPool(ConstantPool newCP) |
String |
toString() |
getAttribute, getBranchParent, getBytes, getOffset, getOpcode, isBranchTarget, length, setAttribute, setAttribute, setBytes, setOffset, stackConsumption, stackUsage
protected ConstantPool cp
protected CPInstruction(byte[] bytes, ConstantPool cp)
public int getIndex()
public void replaceConstantPool(ConstantPool newCP)
public ConstantPool.Entry getEntry()
public ConstantPool getConstantPool()
public String toString()
toString
in class Instruction
Copyright © 2017. All rights reserved.