On Tue, 8 Mar 2022 17:50:58 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

>> Out of all executable elements, inherit documentation only for methods.
>
> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java
>  line 288:
> 
>> 286:     }
>> 287: 
>> 288:     public boolean isAnnotationInterface(Element e) {
> 
> Should the parameter be a `TypeElement` ?

I guess maybe not, since it is often called with the result of 
`getEnclosingElement`

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

PR: https://git.openjdk.java.net/jdk/pull/7747

Reply via email to