com.advancedpwr.record
Class AccessPath

java.lang.Object
  extended by 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

Field Summary
protected  InstanceTree fieldInstanceTree
           
 
Constructor Summary
AccessPath()
           
 
Method Summary
 Set<Class> getExceptions()
           
 InstanceTree getInstanceTree()
           
 Class getParameterClass()
           
 Object getResult()
           
 Class getResultClass()
           
 Class getReturnType()
           
 String nameRoot()
           
 String pathName()
           
 void setTree(InstanceTree inTree)
           
 String suffix()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fieldInstanceTree

protected InstanceTree fieldInstanceTree
Constructor Detail

AccessPath

public AccessPath()
Method Detail

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.