Class NewInitMethodRefForm
- 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.NewInitMethodRefForm
-
public class NewInitMethodRefForm extends InitMethodReferenceForm
This class is used to determine which init method should be called, based on the last class which was sent a constructor message.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
-
Constructor Summary
Constructors Constructor Description NewInitMethodRefForm(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 void
setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.InitMethodReferenceForm
getOffset, getPoolID
-
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
-
NewInitMethodRefForm
public NewInitMethodRefForm(int opcode, java.lang.String name, int[] rewrite)
-
-
Method Detail
-
context
protected java.lang.String context(OperandManager operandManager)
- Specified by:
context
in classInitMethodReferenceForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception
- Overrides:
setNestedEntries
in classInitMethodReferenceForm
- Throws:
Pack200Exception
-
-