On Tue, 8 Mar 2022 17:58:28 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 311: > >> 309: // Note that e.getKind().isInterface() is not the same as >> e.getKind() == INTERFACE >> 310: public boolean isInterface(Element e) { >> 311: return e.getKind() == INTERFACE; > > This seems asymmetrically different from `isClass`. We should come up with > more consistent terminology/usage. isClassExact? isInterfaceExact? ------------- PR: https://git.openjdk.java.net/jdk/pull/7747