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

Add useful predicates to ElementKind

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 19
    • 19
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: