public class ClassDependencyPathAnalyzer
extends java.lang.Object
Constructor and Description |
---|
ClassDependencyPathAnalyzer(DependencyClassNode from)
Initialize the new instance with the class code to start from.
|
Modifier and Type | Method and Description |
---|---|
protected ClassDependencyPathElement |
findOrCreate(DependencyClassNode node)
Returns a dependency tracker for the given class node.
|
ClassDependencyPathsData |
findPathsTo(ClassInformation classInfo)
Looks up recursivly all dependency chains that lead from the analyzer's
underlying class to the given class.
|
protected DependencyClassNode |
getFromNode() |
protected java.util.Map<DependencyClassNode,ClassDependencyPathElement> |
getPathElementRegistry() |
protected ClassDependencyPathElement |
getRootElement() |
protected java.util.Map<DependencyClassNode,ClassDependencyPathElement> |
newRegistry() |
protected void |
reset() |
protected void |
setFromNode(DependencyClassNode newValue) |
protected void |
setPathElementRegistry(java.util.Map<DependencyClassNode,ClassDependencyPathElement> newValue) |
protected void |
setRootElement(ClassDependencyPathElement newValue) |
public ClassDependencyPathAnalyzer(DependencyClassNode from)
protected java.util.Map<DependencyClassNode,ClassDependencyPathElement> getPathElementRegistry()
protected void setPathElementRegistry(java.util.Map<DependencyClassNode,ClassDependencyPathElement> newValue)
protected DependencyClassNode getFromNode()
protected void setFromNode(DependencyClassNode newValue)
protected ClassDependencyPathElement getRootElement()
protected void setRootElement(ClassDependencyPathElement newValue)
public ClassDependencyPathsData findPathsTo(ClassInformation classInfo)
protected ClassDependencyPathElement findOrCreate(DependencyClassNode node)
node
- The class node of which the tracker is desired (must not be null)protected void reset()
protected java.util.Map<DependencyClassNode,ClassDependencyPathElement> newRegistry()