RFR: 8259216: javadoc omits method receiver for any nested type annotation [v3]
liach
github.com+7806504+liach at openjdk.java.net
Tue Jan 12 15:41:07 UTC 2021
On Tue, 12 Jan 2021 12:34:44 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
>> liach has updated the pull request with a new target base due to a merge or a rebase.
>
> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java line 331:
>
>> 329: }
>> 330:
>> 331: public boolean isRecursivelyAnnotated(TypeMirror e) {
>
> I'm not sure this needs to be a new public method in `Utils` since it is only used by `AbstractExcecutableMemberWriter`. It also seems to do more than is necessary for that use case (array, wildcard).
Agreed. Moved this to a helper method like `addParameters` in `AbstractExcecutableMemberWriter`. Also changed test so the tests for `Generic2`'s doc group together.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1997
More information about the javadoc-dev
mailing list