Add compatibility and adoption pages, and index the configuration flags
Three questions had no page. Which JDK and Error Prone versions a
NullAway version needs was answered in three places at once, none of
them a reference: the README carried JDK 17 and Error Prone 2.36.0,
JSpecify Support the javac requirement for type-use annotations in
bytecode, and Suppressing Warnings the Error Prone range in which patch
mode does not work. How to switch an existing codebase on, and how to
move from AnnotatedPackages to OnlyNullMarked or into JSpecify mode, was
answered nowhere.
Add Compatibility, which states the requirements and the combinations
that fail, including that Error Prone 2.43.0 dropped JDK 17, so a build
still on JDK 17 stops at 2.42.0. Add Adopting NullAway, which orders the
steps and links the reference entry for each. Both link to the pages
that own the detail rather than restating it, and both are linked from
Home and the sidebar.
In Configuration, document the five flags the reference did not list.
SuggestSuppressions and AutoFixSuppressionComment appeared only on
Suppressing Warnings; SerializeFixMetadata, FixSerializationConfigPath
and SerializeFixMetadataVersion appeared nowhere, and now say that they
serialize for NullAwayAnnotator. Add an alphabetical index of all 41
flags above the entries, generated from the entries themselves, so that
a reader holding a flag name can reach its section without scrolling
past 33 headings.
Also correct two claims a reader could act on. Supported Annotations
listed the non-null simple names as `@NonNull`, `@NonNull` and
`@NotNull`; Nullness.isNonNullAnnotation accepts `@NonNull`, `@Nonnull`
and `@NotNull`. Suppressing Warnings spelled the suppression-comment
flag `--Xep:NullAway:AutoFixSuppressionComment`, which is neither the
right prefix nor the right namespace; it is
`-XepOpt:NullAway:AutoFixSuppressionComment`. Give the remaining
untagged code fences their language.
Assisted-by: Claude Code (claude-opus-5)
vlsi
committed
Sep 5, 2026