On Sat, 26 Feb 2022 01:12:39 GMT, Jonathan Gibbons <j...@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. Changes out for review under https://github.com/openjdk/jdk/pull/7637 ------------- PR: https://git.openjdk.java.net/jdk/pull/7233