Currently, methods on GeneratorFormatterReaderContext, like Read<>() and ReadMobileObject<>(), should return a T, not T?, and annotated with [MaybeNull]. Then, only in the cases where calls to these methods would end up being assigned to a type that might take a non-nullable value, like string, should use the null-forgiving operator: !
Currently, methods on
GeneratorFormatterReaderContext, likeRead<>()andReadMobileObject<>(), should return aT, notT?, and annotated with[MaybeNull]. Then, only in the cases where calls to these methods would end up being assigned to a type that might take a non-nullable value, likestring, should use the null-forgiving operator:!