withObject method

MethodReflection<O, R> withObject(
  1. O object
)

Returns a new instance that references object.

Implementation

MethodReflection<O, R> withObject(O object) => MethodReflection._(
    classReflection,
    declaringType,
    name,
    returnType,
    returnNullable,
    methodAccessor,
    object,
    isStatic,
    normalParameters,
    optionalParameters,
    namedParameters,
    annotations);