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

javadoc for annotation types should not display "public abstract" modifiers on methods

XMLWordPrintable

    • b107
    • generic
    • generic
    • Verified

      Currently the generated detail javadoc for the members of annotation type are displayed like
      " public abstract ElementType[] value"

      from java.lang.annotation.Target. However, these members are methods on an interface (an annotation type is a kind of interface); therefore, just as the methods of an interface shouldn't have the "public abstract" modifiers printed, neither should the members of an annotation type.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: