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

Use compact notation to display annotation values

XMLWordPrintable

    • b107
    • generic
    • generic
    • Verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: