com.advancedpwr.record.mock
Class BehaviorInstanceTree

java.lang.Object
  extended by com.advancedpwr.record.InstanceTree
      extended by com.advancedpwr.record.mock.BehaviorInstanceTree

public class BehaviorInstanceTree
extends InstanceTree


Field Summary
protected  Set<Class> fieldDeclaredExceptions
           
protected  Class fieldPreferredInterface
           
 
Fields inherited from class com.advancedpwr.record.InstanceTree
depth, fieldAccessPaths, fieldCurrentMethod, fieldFactory, fieldIndex, fieldInspectors, fieldObject, fieldParent, fieldStopClasses
 
Constructor Summary
BehaviorInstanceTree(Object object)
           
BehaviorInstanceTree(Object object, InstanceTree inTree)
           
 
Method Summary
 void addAccessPaths(Object[] inArguments, Object result)
           
 void addDeclaredExceptions(Class<?>[] exceptionTypes)
           
protected  MethodCallPath createMethodCallPath(Object[] inArguments, Object result)
           
 InstanceTree createTree(Object result)
           
protected  Set<Class> getDeclaredExceptions()
           
 Set<Class> getExceptions()
           
 Class getPreferredInterface()
           
protected  InspectorList initializeInspectorList()
           
 Class<? extends Object> objectClass()
           
 void setPreferredInterface(Class preferredInterface)
           
 
Methods inherited from class com.advancedpwr.record.InstanceTree
addClass, addInspector, classes, createFactory, createInstanceTree, currentInstanceName, getAccessPaths, getCurrentMethod, getDepth, getExceptions, getFactory, getIndex, getInspectors, getObject, getParent, getStopClasses, ignoredClass, inspectObject, isStop, isTop, setCurrentMethod, setDepth, setFactory, setIndex, setObject, setParent, setStopClasses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldPreferredInterface

protected Class fieldPreferredInterface

fieldDeclaredExceptions

protected Set<Class> fieldDeclaredExceptions
Constructor Detail

BehaviorInstanceTree

public BehaviorInstanceTree(Object object)

BehaviorInstanceTree

public BehaviorInstanceTree(Object object,
                            InstanceTree inTree)
Method Detail

getPreferredInterface

public Class getPreferredInterface()

setPreferredInterface

public void setPreferredInterface(Class preferredInterface)

initializeInspectorList

protected InspectorList initializeInspectorList()
Overrides:
initializeInspectorList in class InstanceTree

createTree

public InstanceTree createTree(Object result)
Overrides:
createTree in class InstanceTree

addAccessPaths

public void addAccessPaths(Object[] inArguments,
                           Object result)

createMethodCallPath

protected MethodCallPath createMethodCallPath(Object[] inArguments,
                                              Object result)

getDeclaredExceptions

protected Set<Class> getDeclaredExceptions()

addDeclaredExceptions

public void addDeclaredExceptions(Class<?>[] exceptionTypes)

getExceptions

public Set<Class> getExceptions()
Overrides:
getExceptions in class InstanceTree

objectClass

public Class<? extends Object> objectClass()
Overrides:
objectClass in class InstanceTree


Copyright © 2011 Advanced Power Co. All Rights Reserved.