| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultValue | DOUBLE
The default value of a |
| public static final DefaultValue | FLOAT
The default value of a |
| public static final DefaultValue | INTEGER
The default value of a JVM integer which covers Java's |
| public static final DefaultValue | LONG
The default value of a |
| public static final DefaultValue | REFERENCE
The default value of a reference type which resembles the |
| private final StackManipulation | stackManipulation
The stack manipulation that represents the loading of a given default value onto the operand stack. |
| public static final DefaultValue | VOID
The default value of a |
| Access | Constructor and Description |
|---|---|
| private | DefaultValue(StackManipulation
The stack manipulation that represents the loading of a given default value onto the
operand stack. stackManipulation)Creates a new default value 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. |
| public boolean | isValid()
Implements org. |
| public static StackManipulation | Returns: A stack manipulation loading the default value for the given type.The type for which a default value should be loaded onto the operand stack. typeDefinition)Creates a stack assignment that loads the default value for a given type. |
| public static DefaultValue | |
| public static DefaultValue[] |
| DOUBLE | back to summary |
|---|---|
| public static final DefaultValue DOUBLE The default value of a | |
| FLOAT | back to summary |
|---|---|
| public static final DefaultValue FLOAT The default value of a | |
| INTEGER | back to summary |
|---|---|
| public static final DefaultValue INTEGER The default value of a JVM integer which covers Java's | |
| LONG | back to summary |
|---|---|
| public static final DefaultValue LONG The default value of a | |
| REFERENCE | back to summary |
|---|---|
| public static final DefaultValue REFERENCE The default value of a reference type which resembles the | |
| stackManipulation | back to summary |
|---|---|
| private final StackManipulation stackManipulation The stack manipulation that represents the loading of a given default value onto the operand stack. | |
| VOID | back to summary |
|---|---|
| public static final DefaultValue VOID The default value of a | |
| DefaultValue | back to summary |
|---|---|
| private DefaultValue(StackManipulation stackManipulation) Creates a new default value load operation.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements org. Doc from org. Applies the stack manipulation that is described by this instance.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org. Doc from org. Determines if this stack manipulation is valid.
| |
| of | back to summary |
|---|---|
| public static StackManipulation of(TypeDefinition typeDefinition) Creates a stack assignment that loads the default value for a given type.
| |
| valueOf | back to summary |
|---|---|
| public static DefaultValue valueOf(String name) | |
| values | back to summary |
|---|---|
| public static DefaultValue[] values() | |