| Modifier and Type | Field and Description |
|---|---|
| private final TypeDescription | typeDescription
The type description to which a value should be casted. |
| Access | Constructor and Description |
|---|---|
| protected | TypeCasting(TypeDescription
The type description to which a value should be casted. typeDescription)Creates a new type casting. |
| 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 static StackManipulation | Returns: A stack manipulation that represents the casting.The type to which a value should be casted. typeDefinition)Creates a casting to the given, non-primitive type. |
| typeDescription | back to summary |
|---|---|
| private final TypeDescription typeDescription The type description to which a value should be casted. | |
| TypeCasting | back to summary |
|---|---|
| protected TypeCasting(TypeDescription typeDescription) Creates a new type casting.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| to | back to summary |
|---|---|
| public static StackManipulation to(TypeDefinition typeDefinition) Creates a casting to the given, non-primitive type.
| |