RFR: 8338333: Add jls links to javax.lang.model.element.Modifier

Pavel Rappo prappo at openjdk.org
Tue Aug 13 21:50:49 UTC 2024


On Tue, 13 Aug 2024 19:57:55 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> The javadoc in javax.lang.model.element.Modifier would be more informative to readers if it linked to the relevant JLS sections discussing that modifier.

src/java.compiler/share/classes/javax/lang/model/element/Modifier.java line 95:

> 93:      * The modifier {@code static}
> 94:      *
> 95:      * @jls 8.1.1.4 {@code static} Classes

Do we need to add this?

    @jls 9.1.1.3 {@code static} Interfaces

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20572#discussion_r1715968256


More information about the compiler-dev mailing list