Document a NullAway limitation

This commit is contained in:
Sébastien Deleuze 2025-07-10 10:52:38 +02:00
parent b8015d87ef
commit 197de07634
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ non-null values even if that cannot be expressed by the API.
to be present and when non-null related values have been inserted previously. to be present and when non-null related values have been inserted previously.
- `@SuppressWarnings("NullAway") // Overridden method does not define nullability` can be used when the superclass does - `@SuppressWarnings("NullAway") // Overridden method does not define nullability` can be used when the superclass does
not define nullability (typically when the superclass comes from an external dependency). not define nullability (typically when the superclass comes from an external dependency).
- `@SuppressWarnings("NullAway") // See https://github.com/uber/NullAway/issues/1075` can be used when NullAway is not able to detect type variable nullness in generic methods.
[[null-safety-migrating]] [[null-safety-migrating]]