public class TableSwitchForm extends SwitchForm
byteCodeArray, byteCodesByName, WIDENED| Constructor and Description |
|---|
TableSwitchForm(int opcode,
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.
|
fixUpByteCodeTargetssetRewrite2Bytes, setRewrite4Bytes, setRewrite4BytescalculateOperandPosition, firstOperandIndex, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toStringpublic TableSwitchForm(int opcode, String name)
public 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.