RFR: Show null restriction markers in javadoc.

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Feb 3 15:46:08 UTC 2026


On Tue, 3 Feb 2026 15:03:49 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Adds null markers inside generated javadoc like this:
> <img width="1144" height="528" alt="null-markers-javadoc" src="https://github.com/user-attachments/assets/b97736ff-f240-4c88-b874-32a8f7c8743c" />
> 
> Not sure if this is the ideal UI, and this is the best way to do implement it.
> 
> I didn't add tests yet, given the representation may change with experience.

Looks great! Much simpler than I though it would be.

We should probably add some kind of test?

-------------

Marked as reviewed by mcimadamore (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/2022#pullrequestreview-3746018116
PR Comment: https://git.openjdk.org/valhalla/pull/2022#issuecomment-3842080528


More information about the valhalla-dev mailing list