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
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
getOffset
(OperandManager operandManager) protected abstract int
boolean
protected void
setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) 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, operandLength, toString
-
Field Details
-
widened
-
-
Constructor Details
-
SingleByteReferenceForm
-
-
Method Details
-
getOffset
- Specified by:
getOffset
in classReferenceForm
-
getPoolID
- Specified by:
getPoolID
in classReferenceForm
-
nestedMustStartClassPool
- Overrides:
nestedMustStartClassPool
in classByteCodeForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception - Overrides:
setNestedEntries
in classReferenceForm
- Throws:
Pack200Exception
-