public class ByteForm extends ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED| Constructor and Description |
|---|
ByteForm(int opcode,
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.
|
calculateOperandPosition, firstOperandIndex, fixUpByteCodeTargets, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toStringpublic void setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength)
ByteCodeFormsetByteCodeOperands in class ByteCodeFormbyteCode - 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).Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.