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

JSR 269: please provide RoundEnvironment.getElementsAnnotatedWith(Class<? extends Annotation>)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-libs
    • Labels:

      Description

      javax.annotation.processing.RoundEnvironment.getElementsAnnotatedWith(TypeElement)
      is a bit hard to use. This would be simpler:

      roundEnv.getElementsAnnotatedWith(MyAnnotation.class);

        Attachments

          Activity

            People

            Assignee:
            darcy Joe Darcy
            Reporter:
            ahe Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: