withObject method

FieldReflection<O, T> withObject(
  1. O object
)

Returns a new instance that references object.

Implementation

FieldReflection<O, T> withObject(O object) {
  return FieldReflection<O, T>._(
      classReflection,
      declaringType,
      type,
      name,
      nullable,
      getterAccessor,
      setterAccessor,
      object,
      isStatic,
      isFinal,
      _annotations);
}