RFR: 8374752: Add more JLS links to javax.lang.model.element.*

Joe Darcy darcy at openjdk.org
Thu Jan 8 05:16:21 UTC 2026


On Thu, 8 Jan 2026 02:33:22 GMT, Chen Liang <liach at openjdk.org> wrote:

>> The various modeling interfaces in javax.lang.model.element.* would benefit from more direct links to the corresponding JLS sections.
>
> src/java.compiler/share/classes/javax/lang/model/element/TypeParameterElement.java line 39:
> 
>> 37:  * @see TypeVariable
>> 38:  * @jls 8.1.2 Generic Classes and Type Parameters
>> 39:  * @jls 9.1.2 Generic Interfaces and Type Parameters
> 
> 8.4.4 and 8.8.4 too, please. See the links JLS 4.4 makes.

Okay -- I'll add links to 8.4.4 and 8.8.4 to Parameterizable too.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29103#discussion_r2670887301


More information about the compiler-dev mailing list