| Modifier and Type | Field and Description |
|---|---|
| public static final MethodReturn | DOUBLE
The method return handler for returning a |
| public static final MethodReturn | FLOAT
The method return handler for returning a |
| public static final MethodReturn | INTEGER
The method return handler for returning a JVM-integer. |
| public static final MethodReturn | LONG
The method return handler for returning a |
| public static final MethodReturn | REFERENCE
The method return handler for returning a reference type. |
| private final int | returnOpcode
The opcode of this operation. |
| private final StackManipulation. | size
The operand stack size change that is implied by this operation. |
| public static final MethodReturn | VOID
The method return handler for returning |
| Access | Constructor and Description |
|---|---|
| private | MethodReturn(int
The opcode of this operation. returnOpcode, StackSize The operand stack size change that is implied by this operation. stackSize)Creates a new method return manipulation. |
| 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 StackManipulation | Returns: The stack manipulation representing the method return.The type to be returned. typeDefinition)Returns a method return corresponding to a given type. |
| public static MethodReturn | |
| public static MethodReturn[] |
| DOUBLE | back to summary |
|---|---|
| public static final MethodReturn DOUBLE The method return handler for returning a | |
| FLOAT | back to summary |
|---|---|
| public static final MethodReturn FLOAT The method return handler for returning a | |
| INTEGER | back to summary |
|---|---|
| public static final MethodReturn INTEGER The method return handler for returning a JVM-integer. | |
| LONG | back to summary |
|---|---|
| public static final MethodReturn LONG The method return handler for returning a | |
| REFERENCE | back to summary |
|---|---|
| public static final MethodReturn REFERENCE The method return handler for returning a reference type. | |
| returnOpcode | back to summary |
|---|---|
| private final int returnOpcode The opcode of this operation. | |
| size | back to summary |
|---|---|
| private final StackManipulation. The operand stack size change that is implied by this operation. | |
| VOID | back to summary |
|---|---|
| public static final MethodReturn VOID The method return handler for returning | |
| MethodReturn | back to summary |
|---|---|
| private MethodReturn(int returnOpcode, StackSize stackSize) Creates a new method return manipulation.
| |
| 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.
| |
| of | back to summary |
|---|---|
| public static StackManipulation of(TypeDefinition typeDefinition) Returns a method return corresponding to a given type.
| |
| valueOf | back to summary |
|---|---|
| public static MethodReturn valueOf(String name) | |
| values | back to summary |
|---|---|
| public static MethodReturn[] values() | |