Class FloatRefForm
- 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
-
- org.apache.commons.compress.harmony.unpack200.bytecode.forms.FloatRefForm
-
public class FloatRefForm extends SingleByteReferenceForm
This class implements the byte code form for those bytecodes which have float references (and only float references).
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.SingleByteReferenceForm
widened
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm
byteCodeArray, byteCodesByName, WIDENED
-
-
Constructor Summary
Constructors Constructor Description FloatRefForm(int opcode, java.lang.String name, int[] rewrite)Constructs a new instance with the specified opcode, name, operandType and rewrite.FloatRefForm(int opcode, java.lang.String name, int[] rewrite, boolean widened)Constructs a new instance with the specified opcode, name, operandType and rewrite.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetOffset(OperandManager operandManager)protected intgetPoolID()-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.forms.SingleByteReferenceForm
nestedMustStartClassPool, setNestedEntries
-
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 Detail
-
FloatRefForm
public FloatRefForm(int opcode, java.lang.String name, int[] rewrite)
Constructs a new instance with the specified opcode, name, operandType and rewrite.- Parameters:
opcode- index corresponding to the opcode's value.name- String printable name of the opcode.rewrite- Operand positions (which will later be rewritten in ByteCodes) are indicated by -1.
-
FloatRefForm
public FloatRefForm(int opcode, java.lang.String name, int[] rewrite, boolean widened)
Constructs a new instance with the specified opcode, name, operandType and rewrite.- Parameters:
opcode- index corresponding to the opcode's value.name- String printable name of the opcode.rewrite- Operand positions (which will later be rewritten in ByteCodes) are indicated by -1.widened- TODO.
-
-
Method Detail
-
getOffset
protected int getOffset(OperandManager operandManager)
- Specified by:
getOffsetin classSingleByteReferenceForm
-
getPoolID
protected int getPoolID()
- Specified by:
getPoolIDin classSingleByteReferenceForm
-
-