Class ThisInitMethodRefForm
- 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.InitMethodReferenceForm
-
- org.apache.commons.compress.harmony.unpack200.bytecode.forms.ThisInitMethodRefForm
-
public class ThisInitMethodRefForm extends InitMethodReferenceForm
This class is used to determine which init method should be called, based on the last current class reference.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
-
Constructor Summary
Constructors Constructor Description ThisInitMethodRefForm(int opcode, java.lang.String name, int[] rewrite)Constructs a new instance with the specified opcode, name, operandType and rewrite.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Stringcontext(OperandManager operandManager)-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.InitMethodReferenceForm
getOffset, getPoolID, 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
-
ThisInitMethodRefForm
public ThisInitMethodRefForm(int opcode, java.lang.String name, int[] rewrite)
Constructs a new instance with the specified opcode, name, operandType and rewrite.- Parameters:
opcode- index corresponding to the opcode's value.name- String printable name of the opcode.rewrite- Operand positions (which will later be rewritten in ByteCodes) are indicated by -1.
-
-
Method Detail
-
context
protected java.lang.String context(OperandManager operandManager)
- Specified by:
contextin classInitMethodReferenceForm
-
-