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

Add useful predicates to ElementKind

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • core-libs
    • None

      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

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

              Created:
              Updated:
              Resolved: