File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes How to find super class method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to find super class method" Watch "How to find super class method" New topic
Author

How to find super class method

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
1)My class A has many super class.I want to see all the available methods in A.Is there any way and its shortcut key ?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

Jacob,
Please specify what IDE you are inquiring about. This is going to be a different answer for different tools.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
Eclipse
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Two way that come to mind (there are probably more):

1) If you have a variable, call it aaa, of type A, you could type "aaa." then do CTRL-SPACE and a pop-up list of all public methods and fields should show up.

2) While editing A.java, right click and select Source > Override/Implement Methods. The resulting dialog box contains all non-private methods for all superclasses of A.


JBoss In Action
Zviki Cohen
Greenhorn

Joined: Dec 16, 2008
Posts: 3
This can become even simpler with nWire, which is a code exploration plugin for Eclipse. It has a dynamic view which will automatically show you the associations you're looking for.

Check out the demo at: http://www.nwiresoftware.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find super class method
 
Similar Threads
Super Class
can non-static inner class access any member
Need help on inheritance...
Super class of GenericServlet ?
Checked Exception.