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 voidaddLast(DataFlowNode n)DataFlowNodegetDoBranchNodeFromFirstDoStatement()DataFlowNodegetLast()intgetLength()booleanisBranch()booleanisDoBranchNode()booleanisEmpty()booleanisEndNode()booleanisFirstDoStatement()Iterator<DataFlowNode>iterator()voidremoveLast()-
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:
iteratorin 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()
-
-