public class NoArgumentForm extends ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
Constructor and Description |
---|
NoArgumentForm(int opcode,
java.lang.String name) |
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.
|
calculateOperandPosition, firstOperandIndex, fixUpByteCodeTargets, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toString
public NoArgumentForm(int opcode, java.lang.String name)
public void setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength)
ByteCodeForm
setByteCodeOperands
in class ByteCodeForm
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).