Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9543

groovydoc multiple issues with generics

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The HTML output of groovydoc doesn't handle generics very well.

      1. For Java code, the angle brackets are not shown in the title
      2. For Groovy code, any type param bounds are dropped from the title
      3. For both Java and Groovy, angle brackets in class type param docs (@param <A> Blah.) are not escaped

        and same for method type param docs
      4. For Java code, method type params are not shown (they are shown for Groovy code)
      5. For Groovy code, method params and return types show raw types, even though it shows method type params, which makes it confusing

      Attachments

        1. method-type-param-doc-issue.png
          59 kB
          Mikko Värri
        2. java-type-param-issue.png
          87 kB
          Mikko Värri
        3. java-title-issue.png
          30 kB
          Mikko Värri
        4. groovy-title-issue.png
          27 kB
          Mikko Värri
        5. groovy-method-type-param-issue.png
          84 kB
          Mikko Värri
        6. class-type-param-doc-issue.png
          22 kB
          Mikko Värri

        Activity

          People

            daniel_sun Daniel Sun
            vmj Mikko Värri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m