Class ClassSpecificReferenceForm
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
- Direct Known Subclasses:
InitMethodReferenceForm,SuperFieldRefForm,SuperMethodRefForm,ThisFieldRefForm,ThisMethodRefForm
Abstract superclass of all classes that have class-specific references to constant pool information. These classes have a context (a string representing a
pack200 class) i.e., they send getClassSpecificPoolEntry instead of getConstantPoolEntry.
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringcontext(OperandManager operandManager) protected abstract intgetOffset(OperandManager operandManager) protected abstract intprotected voidsetNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ReferenceForm
setByteCodeOperandsMethods 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 Details
-
ClassSpecificReferenceForm
-
-
Method Details
-
context
-
getOffset
- Specified by:
getOffsetin classReferenceForm
-
getPoolID
- Specified by:
getPoolIDin classReferenceForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception - Overrides:
setNestedEntriesin classReferenceForm- Throws:
Pack200Exception
-