org.netbeans.insane.model
Interface HeapModel


public interface HeapModel

A simplified model of the Java heap. It represents relations between Java objects, set of known root references and a set of types. It does not represent values of the primitive object fields.


Method Summary
 java.util.Iterator getAllItems()
          Provides access to all known instances on the heap.
 Item getItem(int id)
           
 Item getObjectAt(java.lang.String staticRefName)
           
 java.util.Collection getObjectsOfType(java.lang.String type)
          Provides access to all known instances of given type.
 java.util.Collection getRoots()
          Provides a collection of known root (static) references
 

Method Detail

getAllItems

java.util.Iterator getAllItems()
Provides access to all known instances on the heap.

Returns:
Iterator of all Items

getObjectsOfType

java.util.Collection getObjectsOfType(java.lang.String type)
Provides access to all known instances of given type.

Returns:
Collection of Items of given type

getRoots

java.util.Collection getRoots()
Provides a collection of known root (static) references

Returns:
Collection of Strings representing the names of static fields

getObjectAt

Item getObjectAt(java.lang.String staticRefName)

getItem

Item getItem(int id)