Class CurrentPath
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
-
- All Implemented Interfaces:
Iterable<DataFlowNode>
public class CurrentPath extends Object implements Iterable<DataFlowNode>
-
-
Constructor Summary
Constructors Constructor Description CurrentPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLast(DataFlowNode n)
DataFlowNode
getDoBranchNodeFromFirstDoStatement()
DataFlowNode
getLast()
int
getLength()
boolean
isBranch()
boolean
isDoBranchNode()
boolean
isEmpty()
boolean
isEndNode()
boolean
isFirstDoStatement()
Iterator<DataFlowNode>
iterator()
void
removeLast()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getLength
public int getLength()
-
iterator
public Iterator<DataFlowNode> iterator()
- Specified by:
iterator
in interfaceIterable<DataFlowNode>
-
getLast
public DataFlowNode getLast()
-
removeLast
public void removeLast()
-
isEmpty
public boolean isEmpty()
-
addLast
public void addLast(DataFlowNode n)
-
isDoBranchNode
public boolean isDoBranchNode()
-
isFirstDoStatement
public boolean isFirstDoStatement()
-
getDoBranchNodeFromFirstDoStatement
public DataFlowNode getDoBranchNodeFromFirstDoStatement()
-
isEndNode
public boolean isEndNode()
-
isBranch
public boolean isBranch()
-
-