RFR: JDK-8315458 Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview) [v31]
Jonathan Gibbons
jjg at openjdk.org
Tue Nov 21 20:44:22 UTC 2023
On Tue, 21 Nov 2023 18:51:55 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
> The comments are attached to the modifiers (first thing it encounters.) I’m sure the javadoc toolset has a method that gets the comments from the right thing.
In the AST created by the parser, doc comments should be attached to _declarations_ (`JCClassDecl`, `JCMethodDecl`, `JCVariableDecl` etc) not modifiers. There is nothing in the javadoc toolset that _gets the comments from the right thing_.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16461#issuecomment-1821645764
More information about the compiler-dev
mailing list