"a.get().a.get()\n" + //20 - 36
"a.get( ).foo\n" + //36 - 50
"a.get( #comma.get()ent\n ).foo\n" + //50 - 80
"a.\\\nget().foo\n" + //80
"";
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) {