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

Correct statement of kinds of elements Processor.process operates over

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • core-libs

      The Processor.process method states

      "Processes a set of annotation interfaces on *type* elements originating from the prior round and returns whether or not these annotation interfaces are claimed by this processor."

      While type elements are the most common kind of element to be processed, package and module elements can be processed too. The statement should be corrected.

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

              Created:
              Updated:
              Resolved: