float constant onto the operand stack.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | FloatConstant.
A stack manipulation for loading a |
| Modifier and Type | Field and Description |
|---|---|
| public static final FloatConstant | ONE
A |
| private final int | opcode
The shortcut opcode for loading a |
| private static final StackManipulation. | SIZE
The size impact of loading a |
| public static final FloatConstant | TWO
A |
| public static final FloatConstant | ZERO
A |
| Access | Constructor and Description |
|---|---|
| private | FloatConstant(int
The shortcut opcode for loading a opcode)float constant.Creates a new shortcut operation for loading a common |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements org. |
| public static StackManipulation | Returns: A stack manipulation for loading the givenfloat value.The value)float value to load onto the stack.Creates a stack manipulation for loading a |
| public boolean | isValid()
Implements org. |
| public static FloatConstant | |
| public static FloatConstant[] |
| ONE | back to summary |
|---|---|
| public static final FloatConstant ONE A | |
| opcode | back to summary |
|---|---|
| private final int opcode The shortcut opcode for loading a | |
| SIZE | back to summary |
|---|---|
| private static final StackManipulation. The size impact of loading a | |
| TWO | back to summary |
|---|---|
| public static final FloatConstant TWO A | |
| ZERO | back to summary |
|---|---|
| public static final FloatConstant ZERO A | |
| FloatConstant | back to summary |
|---|---|
| private FloatConstant(int opcode) Creates a new shortcut operation for loading a common
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements org. Doc from org. Applies the stack manipulation that is described by this instance.
| |
| forValue | back to summary |
|---|---|
| public static StackManipulation forValue(float value) Creates a stack manipulation for loading a This is achieved either by invoking a specific opcode, if any, or by creating a constant pool entry.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org. Doc from org. Determines if this stack manipulation is valid.
| |
| valueOf | back to summary |
|---|---|
| public static FloatConstant valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FloatConstant[] values() | |
float value from a class's constant pool onto the operand stack.
| Modifier and Type | Field and Description |
|---|---|
| private final float | value
The |
| Access | Constructor and Description |
|---|---|
| protected | ConstantPool(float
The value)float value to be loaded onto the operand stack.Creates a new constant pool load operation. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements org. |
| value | back to summary |
|---|---|
| private final float value The | |
| ConstantPool | back to summary |
|---|---|
| protected ConstantPool(float value) Creates a new constant pool load operation.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements org. Doc from org. Applies the stack manipulation that is described by this instance.
| |