Class NarrowClassRefForm
- java.lang.Object
-
- kala.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
-
- kala.compress.harmony.unpack200.bytecode.forms.ReferenceForm
-
- kala.compress.harmony.unpack200.bytecode.forms.ClassRefForm
-
- kala.compress.harmony.unpack200.bytecode.forms.NarrowClassRefForm
-
public class NarrowClassRefForm extends ClassRefForm
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 kala.compress.harmony.unpack200.bytecode.forms.ClassRefForm
widened
-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
-
Constructor Summary
Constructors Constructor Description NarrowClassRefForm(int opcode, java.lang.String name, int[] rewrite)NarrowClassRefForm(int opcode, java.lang.String name, int[] rewrite, boolean widened)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleannestedMustStartClassPool()protected voidsetNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.forms.ClassRefForm
getOffset, getPoolID
-
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, operandLength, toString
-
-
-
-
Method Detail
-
nestedMustStartClassPool
public boolean nestedMustStartClassPool()
- Overrides:
nestedMustStartClassPoolin classByteCodeForm
-
setNestedEntries
protected void setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) throws Pack200Exception
- Overrides:
setNestedEntriesin classClassRefForm- Throws:
Pack200Exception
-
-