RFR: 8282756: Make ElementKind checks more specific

Pavel Rappo prappo at openjdk.java.net
Tue Mar 8 18:26:07 UTC 2022


On Tue, 8 Mar 2022 18:01:18 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> `Utils.isClass` and `Utils.isInterface` seem inconsistent. We should try and come up with consistent patterns for "is any class", "is exactly class", "is interface", "is exactly interface"

They are inconsistent, but this PR hasn't made them so. I think we should come up with better names in a later PR.

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

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


More information about the javadoc-dev mailing list