Interface PrimitiveUnboxingDelegate.UnboxingResponsible
-
- All Known Implementing Classes:
PrimitiveUnboxingDelegate.ExplicitlyTypedUnboxingResponsible
,PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible
- Enclosing class:
- PrimitiveUnboxingDelegate
public static interface PrimitiveUnboxingDelegate.UnboxingResponsible
Implementations represent an unboxing delegate that is able to perform the unboxing operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackManipulation
assignUnboxedTo(TypeDescription.Generic target, Assigner assigner, Assigner.Typing typing)
Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.
-
-
-
Method Detail
-
assignUnboxedTo
StackManipulation assignUnboxedTo(TypeDescription.Generic target, Assigner assigner, Assigner.Typing typing)
Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.- Parameters:
target
- The type that is the desired outcome of the assignment.assigner
- The assigner used to assign the unboxed type to the target type.typing
- Determines if a type-casting should be attempted for incompatible types.- Returns:
- A stack manipulation representing this assignment if such an assignment is possible. An illegal assignment otherwise.
-
-