protected static class PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible extends Object implements PrimitiveUnboxingDelegate.UnboxingResponsible
Modifier | Constructor and Description |
---|---|
protected |
ImplicitlyTypedUnboxingResponsible(TypeDescription originalType)
Creates a new implicitly typed unboxing responsible.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
assignUnboxedTo(TypeDescription targetType,
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.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
protected ImplicitlyTypedUnboxingResponsible(TypeDescription originalType)
originalType
- The original type which should be unboxed but is not of any known wrapper type.public StackManipulation assignUnboxedTo(TypeDescription targetType, Assigner assigner, Assigner.Typing typing)
PrimitiveUnboxingDelegate.UnboxingResponsible
assignUnboxedTo
in interface PrimitiveUnboxingDelegate.UnboxingResponsible
targetType
- 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.Copyright © 2014–2015. All rights reserved.