d01dd13a17
The interaction between `Translator` and other types like `ClassInfoCollector` is quite complicated. This patch refactors a few things to make it slightly simpler. Changes: - Add documentation to a few fields, minor rewording in a few other field documentation. - Make `ClassInfoCollector`'s `nextClassId`, `computeRepresentation`, `addTypedDataFields` private. - Initialize of `ClassInfo`'s `nullableType`, `nonNullableType` in constructor. Change-Id: I48e55029844ff41d9f043aac004a1abad8df83dd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265281 Reviewed-by: Aske Simon Christensen <askesc@google.com> Reviewed-by: Joshua Litt <joshualitt@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>