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

Add ClassDeclaration.getMethods() with covariant return type.

    XMLWordPrintable

    Details

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

      Description

      Add to ClassDeclaration:
        Collection<MethodDeclaration> getMethods();

      This allows the following type-safe assignment:
        ClassDeclaration someclass = ...;
        Collection<MethodDeclaration> methods = someclass.getMethods();

        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: