void type. This means:
void type is assigned to the void it will consider this a trivial operation.void type is assigned to a non-void type, it will pop the top value from the stack.void type is assigned to a void type, it will load the target type's default value
only if this was configured at the assigner's construction.void types are subject of the assignment, it will delegate the assignment to its chained
assigner.| Modifier and Type | Field and Description |
|---|---|
| private final Assigner | chained
An assigner that is capable of handling assignments that do not involve |
| Access | Constructor and Description |
|---|---|
| public | VoidAwareAssigner(Assigner
A chained assigner which will be queried by this assigner to handle assignments that
do not involve a chained)void type.Creates a new assigner that is capable of handling void types. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation | assign(TypeDescription.
The original type that is to be transformed into the source,targetType.The target type into which the target,sourceType is to be converted.A hint whether the assignment should consider the runtime type of the source type,
i.e. if type down or cross castings are allowed. If this hint is set, this is
also an indication that typingvoid to non-void assignments are permitted.Implements org. |
| chained | back to summary |
|---|---|
| private final Assigner chained An assigner that is capable of handling assignments that do not involve | |
| VoidAwareAssigner | back to summary |
|---|---|
| public VoidAwareAssigner(Assigner chained) Creates a new assigner that is capable of handling void types.
| |
| assign | back to summary |
|---|---|
| public StackManipulation assign(TypeDescription. Implements org.
| |