Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282411

Add useful predicates to ElementKind

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 19
    • Fix Version/s: 19
    • Component/s: core-libs
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: