An assigner implementation that considers generic type assignability.
Important Note
This implementation does not currently support method variables and their type inference.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | GenericTypeAwareAssigner.
A visitor for generic types that determines assignability of such types. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GenericTypeAwareAssigner | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| 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. |
| public static GenericTypeAwareAssigner | |
| public static GenericTypeAwareAssigner[] |