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

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

XMLWordPrintable

    • apt
    • b43
    • sparc
    • solaris_9


      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[])

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: