public class BreakingStatementDetector extends Object
ReturnStatement or ThrowStatement.| Constructor and Description |
|---|
BreakingStatementDetector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsControlFlowBreakingStatement(org.eclipse.jdt.core.dom.ASTNode node)
Determines wether the given
node contains a statement that would break the
control flow. |
public boolean containsControlFlowBreakingStatement(org.eclipse.jdt.core.dom.ASTNode node)
node contains a statement that would break the
control flow.node - The node to check.true iff node has a child node that could prevent the
statement coming after it from being executed.