| Modifier and Type | Field and Description |
|---|---|
| public static final Addition | DOUBLE
Adds two doubles. |
| public static final Addition | FLOAT
Adds two floats. |
| public static final Addition | INTEGER
Adds two integers or integer-compatible values. |
| public static final Addition | LONG
Adds two longs. |
| private final int | opcode
The opcode to apply. |
| private final StackSize | stackSize
The stack size of the added primitive. |
| Access | Constructor and Description |
|---|---|
| private |
| 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 net. |
| public boolean | isValid()
Implements net. |
| public static Addition | |
| public static Addition[] |
| DOUBLE | back to summary |
|---|---|
| public static final Addition DOUBLE Adds two doubles. | |
| FLOAT | back to summary |
|---|---|
| public static final Addition FLOAT Adds two floats. | |
| INTEGER | back to summary |
|---|---|
| public static final Addition INTEGER Adds two integers or integer-compatible values. | |
| LONG | back to summary |
|---|---|
| public static final Addition LONG Adds two longs. | |
| opcode | back to summary |
|---|---|
| private final int opcode The opcode to apply. | |
| stackSize | back to summary |
|---|---|
| private final StackSize stackSize The stack size of the added primitive. | |
| Addition | back to summary |
|---|---|
| private Addition(int opcode, StackSize stackSize) Creates a new addition.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements net. Doc from net. Determines if this stack manipulation is valid.
| |
| valueOf | back to summary |
|---|---|
| public static Addition valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Addition[] values() | |