| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv void | |
| public boolean | skipChildren(Visitable
the node to process v)Implements org. Method that is called to indicate whether we should skip all nodes below this node for traversal. |
| public boolean | Returns: true/falseImplements org. Stop traversal if we found the target node |
| public Visitable | Returns: methe node to process node)Implements org. If we have found the target node, we are done. |
| public boolean | visitChildrenFirst(Visitable
the top node of a sub-tree about to be visited v)Implements org. Method that is called to see if |
| hasCorrelatedCRs | back to summary |
|---|---|
| private boolean hasCorrelatedCRs | |
| HasCorrelatedCRsVisitor | back to summary |
|---|---|
| pack-priv HasCorrelatedCRsVisitor() Construct a visitor | |
| hasCorrelatedCRs | back to summary |
|---|---|
| pack-priv boolean hasCorrelatedCRs() Indicate whether we found the node in question
| |
| setHasCorrelatedCRs | back to summary |
|---|---|
| pack-priv void setHasCorrelatedCRs(boolean value) Shortcut to set if hasCorrelatedCRs
| |
| skipChildren | back to summary |
|---|---|
| public boolean skipChildren(Visitable v) Implements org. Doc from org. Method that is called to indicate whether we should skip all nodes below this node for traversal. Useful if we want to effectively ignore/prune all branches under a particular node. Differs from stopTraversal() in that it only affects subtrees, rather than the entire traversal.
| |
| stopTraversal | back to summary |
|---|---|
| public boolean stopTraversal() Implements org. Stop traversal if we found the target node
| |
| visit | back to summary |
|---|---|
| public Visitable visit(Visitable node) Implements org. If we have found the target node, we are done. | |
| visitChildrenFirst | back to summary |
|---|---|
| public boolean visitChildrenFirst(Visitable v) Implements org. Doc from org. Method that is called to see if
| |