public class NewClassRefForm extends ClassRefForm
widened
byteCodeArray, byteCodesByName, WIDENED
Constructor and Description |
---|
NewClassRefForm(int opcode,
java.lang.String name,
int[] rewrite) |
Modifier and Type | Method and Description |
---|---|
void |
setByteCodeOperands(ByteCode byteCode,
OperandManager operandManager,
int codeLength)
When passed a byteCode, an OperandTable and a SegmentConstantPool, this method will set the rewrite of the
byteCode appropriately.
|
getOffset, getPoolID, setNestedEntries
calculateOperandPosition, firstOperandIndex, fixUpByteCodeTargets, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toString
public NewClassRefForm(int opcode, java.lang.String name, int[] rewrite)
public void setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength)
ByteCodeForm
setByteCodeOperands
in class ReferenceForm
byteCode
- ByteCode to be updated (!)operandManager
- OperandTable from which to draw infocodeLength
- Length of bytes (excluding this bytecode) from the beginning of the method. Used in calculating
padding for some variable-length bytecodes (such as lookupswitch, tableswitch).