com.advancedpwr.record
Class AccessPath
java.lang.Object
com.advancedpwr.record.AccessPath
- Direct Known Subclasses:
- AccessorMethodPath, ArgumentPath, MethodCallPath, MultiPath
public class AccessPath
- extends Object
AccessPath represents the code path leading to the access of an object in the InstanceTree
Instances of AccessPath are inspected by an ObjectRecorder at class generation time to determine
how to reconstruct the object tree.
- Author:
- Matthew Avery, mavery@advancedpwr.com on May 29, 2010
fieldInstanceTree
protected InstanceTree fieldInstanceTree
AccessPath
public AccessPath()
getResult
public Object getResult()
setTree
public void setTree(InstanceTree inTree)
getResultClass
public Class getResultClass()
getReturnType
public Class getReturnType()
getParameterClass
public Class getParameterClass()
getInstanceTree
public InstanceTree getInstanceTree()
nameRoot
public String nameRoot()
suffix
public String suffix()
pathName
public String pathName()
toString
public String toString()
- Overrides:
toString in class Object
getExceptions
public Set<Class> getExceptions()
Copyright © 2011 Advanced Power Co. All Rights Reserved.