On Fri, 25 Feb 2022 21:58:54 GMT, Joe Darcy <da...@openjdk.org> wrote:

> ElementKind.isExecutable[Element]
> ElementKind.isVariable[Element]
> ElementKind.isDeclaredType() // isClass || isInterface currently

Yes, predicates for the "unions" would be useful, especially now that the 
language is adding more specialized variants of plain old class and plain old 
interface.

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

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

Reply via email to