Class ThisMethodRefForm
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
-
- org.apache.commons.compress.harmony.unpack200.bytecode.forms.ReferenceForm
-
- org.apache.commons.compress.harmony.unpack200.bytecode.forms.ClassSpecificReferenceForm
-
- org.apache.commons.compress.harmony.unpack200.bytecode.forms.ThisMethodRefForm
-
public class ThisMethodRefForm extends ClassSpecificReferenceForm
This class implements references to methods defined in the current class, which is set by this class in the OperandManager. Pack200 allows the current class to be inferred from context; this class tracks previous method reference current classes to allow this.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
-
Constructor Summary
Constructors Constructor Description ThisMethodRefForm(int opcode, java.lang.String name, int[] rewrite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
context(OperandManager operandManager)
protected int
getOffset(OperandManager operandManager)
protected int
getPoolID()
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ClassSpecificReferenceForm
setNestedEntries
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ReferenceForm
setByteCodeOperands
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
calculateOperandPosition, firstOperandIndex, fixUpByteCodeTargets, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toString
-
-
-
-
Constructor Detail
-
ThisMethodRefForm
public ThisMethodRefForm(int opcode, java.lang.String name, int[] rewrite)
-
-
Method Detail
-
getOffset
protected int getOffset(OperandManager operandManager)
- Specified by:
getOffset
in classClassSpecificReferenceForm
-
getPoolID
protected int getPoolID()
- Specified by:
getPoolID
in classClassSpecificReferenceForm
-
context
protected java.lang.String context(OperandManager operandManager)
- Specified by:
context
in classClassSpecificReferenceForm
-
-