Add this URL to your Eclipse Installation to reach this solution's update site.
Update! This plugin works while debugging Groovy/Grails (not surprisingly).
New ! Now supports not showing instances of a class if the instance count is 0.
New ! Now supports showing all instances of objects whose class has annotations such as @Resource.
New ! Now supports showing all instances of objects implementing selected Java Interface.
As mentioned in the Eclipse help Java Development User Guide Tips and tricks Debugging section, when debugging with JavaSE-1.6+ you can see all instances of a particular class. You can invoke this functionality via the popup menu (All Instances...) of Variables view rows for reference type values or in the Java editor by positioning the cursor on or selecting a reference type expression. However it is not possible to see all instances of an arbitrary class. The All Instances plug-in adds this functionality. It can be invoked using the:
- Run > All Instances of Java Class...
- All Instances of Java Class... toolbar buttons in the Variables and Expressions views
Once invoked it shows the customized Open Type dialog of JDT. Once you selects the class it adds the Instances (count) expression to the Expressions view. It also adds the expressions for sub classes of the selected . You can further show hide inner and anonymous inner classes. If there are 0 instances and Show static fields preference is enabled expressions to show the values of the static fields of the classes are also added.
In addition, an expression showing java.security.CodeSource info for the class is also added if that information is available.
Unsuccessful Installs in the last 7 Days: 0
By adding the following code below to your website you will be able to add an install button for Show All Instances of selected Java Class or Interface .HTML Code:
Submitted by Sandip Chitale on Mon, 2012-11-05 02:03
Version 1.0.17 supports showing all instances of classes annotated with specified annotation.
Submitted by Sandip Chitale on Wed, 2012-10-31 13:51
Version 1.0.15 supports showing all instances of implementors of specified interface.
Submitted by Abdull Mising name on Wed, 2012-09-12 20:48
Very helpful, works smoothly in Eclipse Juno.
Even capable of listing all instances of some inner class and anonymous class.
The only feature I would like to see added in the next release: getting a list of all instances implementing a specified interface.
Back to the top