double constant onto the operand stack.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | DoubleConstant.
A stack manipulation for loading a |
| Modifier and Type | Field and Description |
|---|---|
| public static final DoubleConstant | 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 DoubleConstant | ZERO
A |
| Access | Constructor and Description |
|---|---|
| private | DoubleConstant(int
The shortcut opcode for loading a opcode)double 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 givendouble value.The value)double value to load onto the stack.Creates a stack manipulation for loading a |
| public boolean | isValid()
Implements org. |
| public static DoubleConstant | |
| public static DoubleConstant[] |
| ONE | back to summary |
|---|---|
| public static final DoubleConstant 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 | |
| ZERO | back to summary |
|---|---|
| public static final DoubleConstant ZERO A | |
| DoubleConstant | back to summary |
|---|---|
| private DoubleConstant(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(double 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 DoubleConstant valueOf(String name) | |
| values | back to summary |
|---|---|
| public static DoubleConstant[] values() | |
double value from a class's constant pool onto the operand stack.
| Modifier and Type | Field and Description |
|---|---|
| private final double | value
The |
| Access | Constructor and Description |
|---|---|
| protected | ConstantPool(double
The value)double 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 double value The | |
| ConstantPool | back to summary |
|---|---|
| protected ConstantPool(double 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.
| |