Unit curr = iter.next();
if(curr instanceof IfStmt){
IfStmt ifstmt = (IfStmt) curr;
m_labels.add(ifstmt.getTarget());
} else if(curr instanceof GotoStmt){
GotoStmt gotostmt = (GotoStmt) curr;
m_labels.add(gotostmt.getTarget());
} else if(curr instanceof LookupSwitchStmt){
LookupSwitchStmt lookup = (LookupSwitchStmt) curr;
addTargets(lookup.getTargets());
m_labels.add(lookup.getDefaultTarget());
} else if(curr instanceof TableSwitchStmt){