Class InitMethodReferenceForm
- java.lang.Object
-
- kala.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
-
- kala.compress.harmony.unpack200.bytecode.forms.ReferenceForm
-
- kala.compress.harmony.unpack200.bytecode.forms.ClassSpecificReferenceForm
-
- kala.compress.harmony.unpack200.bytecode.forms.InitMethodReferenceForm
-
- Direct Known Subclasses:
NewInitMethodRefForm,SuperInitMethodRefForm,ThisInitMethodRefForm
public abstract class InitMethodReferenceForm extends ClassSpecificReferenceForm
Abstract superclass of those classes which look up init methods (these are class specific methods). They use getInitMethodPoolEntry to find the methods.
-
-
Field Summary
-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
-
Constructor Summary
Constructors Constructor Description InitMethodReferenceForm(int opcode, java.lang.String name, int[] rewrite)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.Stringcontext(OperandManager operandManager)protected intgetOffset(OperandManager operandManager)protected intgetPoolID()protected voidsetNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.forms.ReferenceForm
setByteCodeOperands
-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
calculateOperandPosition, firstOperandIndex, fixUpByteCodeTargets, get, getName, getOpcode, getRewrite, getRewriteCopy, hasMultipleByteCodes, hasNoOperand, nestedMustStartClassPool, operandLength, toString
-
-
-
-
Method Detail
-
context
protected abstract java.lang.String context(OperandManager operandManager)
- Specified by:
contextin classClassSpecificReferenceForm
-
getOffset
protected int getOffset(OperandManager operandManager)
- Specified by:
getOffsetin classClassSpecificReferenceForm
-
getPoolID
protected int getPoolID()
- Specified by:
getPoolIDin classClassSpecificReferenceForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception
- Overrides:
setNestedEntriesin classClassSpecificReferenceForm- Throws:
Pack200Exception
-
-