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

Use compact notation to display annotation values

    XMLWordPrintable

Details

    • b107
    • generic
    • generic
    • Verified

    Description

      The javadoc for the annotations applied to an annotated element uses a verbose form; e.g.

          @Documented
          @Retention(value=RUNTIME)
          @Target(value=ANNOTATION_TYPE)
          public @interface Inherited

      The more compact

          @Documented
          @Retention(RUNTIME)
          @Target(ANNOTATION_TYPE)
          public @interface Inherited

      could often be used instead.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: