Lint warning for annotation type without explicit @Target

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      Good style when declaring an annotation type is to include an explicit @Target meta-annotation to declare what kinds of elements the annotation type is applicable too. If a annotatio type lacks an @Target, a lint warning could be issued.

            Assignee:
            Jan Lahoda
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: