withObject method
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);
}