Class SingleByteReferenceForm
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.SingleByteReferenceForm
- Direct Known Subclasses:
FloatRefForm,IntRefForm,StringRefForm
Some bytecodes (such as (a)ldc, fldc and ildc) have single-byte references to the class pool. This class is the abstract superclass of those classes.
-
Field Summary
FieldsFields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract intgetOffset(OperandManager operandManager) protected abstract intbooleanprotected 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, operandLength, toString
-
Field Details
-
widened
-
-
Constructor Details
-
SingleByteReferenceForm
-
-
Method Details
-
getOffset
- Specified by:
getOffsetin classReferenceForm
-
getPoolID
- Specified by:
getPoolIDin classReferenceForm
-
nestedMustStartClassPool
- Overrides:
nestedMustStartClassPoolin classByteCodeForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception - Overrides:
setNestedEntriesin classReferenceForm- Throws:
Pack200Exception
-