public class IMethodRefForm extends ReferenceForm
byteCodeArray, byteCodesByName, WIDENED| Constructor and Description |
|---|
IMethodRefForm(int opcode,
String name,
int[] rewrite) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getOffset(OperandManager operandManager) |
protected int |
getPoolID() |
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.
|
setNestedEntriescalculateOperandPosition, firstOperandIndex, fixUpByteCodeTargets, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toStringpublic IMethodRefForm(int opcode, String name, int[] rewrite)
protected int getOffset(OperandManager operandManager)
getOffset in class ReferenceFormprotected int getPoolID()
getPoolID in class ReferenceFormpublic void setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength)
ByteCodeFormsetByteCodeOperands in class ReferenceFormbyteCode - 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.