protected Object coerceToType ( Object param , Class < ? > type ) throws Throwable { if ( type != Object . class ) param = Types . castObject ( param , type , Types . CAST ) ; return Primitive . unwrap ( param ) ; }
Coerce parameter values to parameter type and unwrap primitives .