Details
Description
As shown by its use in the javadoc implementation, the ElementKind enum would be enhanced by the addition of a number of predicates to semantically group the constants. Additions under consideration include:
ElementKind.isExecutable
ElementKind.isVariable
ElementKind.isDeclaredType
ElementKind.isExecutable
ElementKind.isVariable
ElementKind.isDeclaredType
Attachments
Issue Links
- csr for
-
JDK-8282461 Add useful predicates to ElementKind
-
- Closed
-
- relates to
-
JDK-8264866 Remove unneeded WorkArounds.isAutomaticModule
-
- Resolved
-
-
JDK-8271711 Remove WorkArounds.isSynthetic
-
- Resolved
-