com.advancedpwr.record
Class InstanceTree

java.lang.Object
  extended by com.advancedpwr.record.InstanceTree
Direct Known Subclasses:
BehaviorInstanceTree

public class InstanceTree
extends Object


Field Summary
protected  int depth
           
protected  AccessPathList fieldAccessPaths
           
protected  Method fieldCurrentMethod
           
protected  InstanceTreeFactory fieldFactory
           
protected  int fieldIndex
           
protected  InspectorList fieldInspectors
           
protected  Object fieldObject
           
protected  InstanceTree fieldParent
           
protected  Set fieldStopClasses
           
 
Constructor Summary
InstanceTree(Object object)
           
InstanceTree(Object object, InstanceTree inTree)
           
InstanceTree(Set<Class> stopClasses, Object object)
           
 
Method Summary
protected  void addClass(Set<Class> classes, Class inClass)
           
 void addInspector(Inspector inspector)
           
protected  Set<Class> classes()
           
protected  InstanceTreeFactory createFactory()
           
 InstanceTree createInstanceTree(Object result)
           
 InstanceTree createTree(Object result)
           
 String currentInstanceName()
           
 AccessPathList getAccessPaths()
           
 Method getCurrentMethod()
           
 int getDepth()
           
 Set<Class> getExceptions()
           
protected  Set<Class> getExceptions(Map<InstanceTree,Set<Class>> cache)
           
 InstanceTreeFactory getFactory()
           
 int getIndex()
           
 InspectorList getInspectors()
           
 Object getObject()
           
 InstanceTree getParent()
           
 Set getStopClasses()
           
 boolean ignoredClass(Class param)
           
protected  InspectorList initializeInspectorList()
           
protected  void inspectObject()
           
 boolean isStop()
           
 boolean isTop()
           
 Class<? extends Object> objectClass()
           
 void setCurrentMethod(Method currentMethod)
           
 void setDepth(int depth)
           
 void setFactory(InstanceTreeFactory factory)
           
 void setIndex(int index)
           
 void setObject(Object object)
           
 void setParent(InstanceTree parent)
           
 void setStopClasses(Set stopClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldObject

protected Object fieldObject

fieldCurrentMethod

protected Method fieldCurrentMethod

fieldAccessPaths

protected AccessPathList fieldAccessPaths

depth

protected int depth

fieldParent

protected InstanceTree fieldParent

fieldFactory

protected InstanceTreeFactory fieldFactory

fieldInspectors

protected InspectorList fieldInspectors

fieldIndex

protected int fieldIndex

fieldStopClasses

protected Set fieldStopClasses
Constructor Detail

InstanceTree

public InstanceTree(Set<Class> stopClasses,
                    Object object)

InstanceTree

public InstanceTree(Object object)

InstanceTree

public InstanceTree(Object object,
                    InstanceTree inTree)
Method Detail

getParent

public InstanceTree getParent()

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

isTop

public boolean isTop()

setParent

public void setParent(InstanceTree parent)

getCurrentMethod

public Method getCurrentMethod()

setCurrentMethod

public void setCurrentMethod(Method currentMethod)

inspectObject

protected void inspectObject()

getInspectors

public InspectorList getInspectors()

initializeInspectorList

protected InspectorList initializeInspectorList()

addInspector

public void addInspector(Inspector inspector)

currentInstanceName

public String currentInstanceName()

objectClass

public Class<? extends Object> objectClass()

createInstanceTree

public InstanceTree createInstanceTree(Object result)

createTree

public InstanceTree createTree(Object result)

getAccessPaths

public AccessPathList getAccessPaths()

getObject

public Object getObject()

setObject

public void setObject(Object object)

classes

protected Set<Class> classes()

addClass

protected void addClass(Set<Class> classes,
                        Class inClass)

ignoredClass

public boolean ignoredClass(Class param)

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getFactory

public InstanceTreeFactory getFactory()

createFactory

protected InstanceTreeFactory createFactory()

setFactory

public void setFactory(InstanceTreeFactory factory)

getExceptions

public Set<Class> getExceptions()

getExceptions

protected Set<Class> getExceptions(Map<InstanceTree,Set<Class>> cache)

getStopClasses

public Set getStopClasses()

isStop

public boolean isStop()

setStopClasses

public void setStopClasses(Set stopClasses)


Copyright © 2011 Advanced Power Co. All Rights Reserved.