public void visitStatement(Statement statement) {
String label = statement.getStatementLabel();
if (label!=null) {
for (Iterator iter = breakLabels.iterator(); iter.hasNext();) {
BreakStatement element = (BreakStatement) iter.next();
if (element.getLabel().equals(label)) iter.remove();
}
for (Iterator iter = continueLabels.iterator(); iter.hasNext();) {
ContinueStatement element = (ContinueStatement) iter.next();
if (element.getLabel().equals(label)) iter.remove();
}
visitedLabels.add(label);
}