Class PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible

  • All Implemented Interfaces:
    PrimitiveUnboxingDelegate.UnboxingResponsible
    Enclosing class:
    PrimitiveUnboxingDelegate

    protected static class PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible
    extends java.lang.Object
    implements PrimitiveUnboxingDelegate.UnboxingResponsible
    An unboxing responsible for an implicitly typed value. This implementation is applied for source types that were not found to be of a given wrapper type. Instead, this unboxing responsible tries to assign the source type to the primitive target type's wrapper type before performing an unboxing operation.
    • Constructor Detail

      • ImplicitlyTypedUnboxingResponsible

        protected ImplicitlyTypedUnboxingResponsible​(TypeDescription.Generic originalType)
        Creates a new implicitly typed unboxing responsible.
        Parameters:
        originalType - The original type which should be unboxed but is not of any known wrapper type.
    • Method Detail