JDK-8282411 : Add useful predicates to ElementKind
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-02-25
  • Updated: 2024-10-17
  • Resolved: 2022-03-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 b12Fixed
Related Reports
CSR :  
Relates :  
Relates :  
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
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/7637 Date: 2022-02-28 21:33:22 +0000
17-10-2024

Changeset: 732d891f Author: Joe Darcy <darcy@openjdk.org> Date: 2022-03-01 18:48:43 +0000 URL: https://git.openjdk.java.net/jdk/commit/732d891f9f8987edfc188c049eb19de6ba790c42
01-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7637 Date: 2022-02-28 21:33:22 +0000
28-02-2022