Class NarrowClassRefForm
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.ClassRefForm
org.apache.commons.compress.harmony.unpack200.bytecode.forms.NarrowClassRefForm
This class is used for representations of cldc and cldc_w. In these cases, a narrow class ref has one byte and a wide class ref has two bytes.
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ClassRefForm
widened
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
Constructor Summary
ConstructorDescriptionNarrowClassRefForm
(int opcode, String name, int[] rewrite) NarrowClassRefForm
(int opcode, String name, int[] rewrite, boolean widened) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ClassRefForm
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, operandLength, toString
-
Constructor Details
-
NarrowClassRefForm
-
NarrowClassRefForm
-
-
Method Details
-
nestedMustStartClassPool
- Overrides:
nestedMustStartClassPool
in classByteCodeForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception - Overrides:
setNestedEntries
in classClassRefForm
- Throws:
Pack200Exception
-