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

toString for method and constructor declarations should show type & value params

    XMLWordPrintable

    Details

    • Subcomponent:
      apt
    • Resolved In Build:
      b43
    • CPU:
      sparc
    • OS:
      solaris_9

      Description


      The toString method for ExecutableDeclaration currently just returns
      the method's simple name (the class's simple name for a constructor).
      More info should be included.

      Suggestion: return type params before the name, and value params after.
      Don't include annotations or other modifiers, return type, or throws clause.
      For example:

      main(java.lang.String[])

        Attachments

          Activity

            People

            Assignee:
            sseligmasunw Scott Seligman (Inactive)
            Reporter:
            sseligmasunw Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: