public abstract class SwitchForm extends VariableInstructionForm
byteCodeArray, byteCodesByName, WIDENED
Constructor and Description |
---|
SwitchForm(int opcode,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
fixUpByteCodeTargets(ByteCode byteCode,
CodeAttribute codeAttribute)
The ByteCodeForm knows how to fix up a bytecode if it needs to be fixed up because it holds a Label bytecode.
|
setRewrite2Bytes, setRewrite4Bytes, setRewrite4Bytes
calculateOperandPosition, firstOperandIndex, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, setByteCodeOperands, toString
public SwitchForm(int opcode, String name)
public void fixUpByteCodeTargets(ByteCode byteCode, CodeAttribute codeAttribute)
ByteCodeForm
fixUpByteCodeTargets
in class ByteCodeForm
byteCode
- a ByteCode to be fixed upcodeAttribute
- a CodeAttribute used to determine how the ByteCode should be fixed up.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.