try {
labelScope = new LabelScope(outerScope, true, false);
for (SwitchMember member : node.getMembers()) {
for (Label label : member.getLabels()) {
SimpleIdentifier labelName = label.getLabel();
LabelElement labelElement = (LabelElement) labelName.getStaticElement();
labelScope = new LabelScope(labelScope, labelName.getName(), labelElement);
}
}
super.visitSwitchStatement(node);
} finally {