Module mod = (Module) parseLegalDocStr(s);
stmtType b0 = mod.body[0];
Document doc = new Document(s);
FindDuplicatesVisitor visitor = new FindDuplicatesVisitor(new TextSelection(doc, 0, 7), ((Expr) b0).value, doc);
mod.accept(visitor);
List<Tuple<ITextSelection, SimpleNode>> duplicates = visitor.getDuplicates();
Comparator<? super Tuple<Integer, Integer>> comparator = new Comparator<Tuple<Integer, Integer>>() {
public int compare(Tuple<Integer, Integer> o1, Tuple<Integer, Integer> o2) {