Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5838

Support for {@return …} Javadoc tag (JDK-8075778)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 12.4
    • 24
    • java - Javadoc
    • None
    • Java 16

    Description

      Currently

      /**
       * {@return something}
       */

      does not show up in the Javadoc window. According to JDK-8075778 the text in the tag should be displayed in the description (prefixed with "Returns " and in the "returns" section.

      Also autoformatting the source code currently transforms the tag into

       /**
       * 
       * {
       * 
       * @return something}
       */

      which is not recognized by the Javadoc generator anymore. The generated output contains "{" as the description and the given text including "}" (but without the "{") in the "returns" section.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              striderapache dennis lucero
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: