MyRefResolver.jadd 262 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
aspect MyRewrites {

  // context-independent name resolution
  refine RefResolverStubs eq ASTNode.resolveNamedElement(String id) {
    System.out.println("resolving " + id + " to " + root().findNamedElement(id));
    return root().findNamedElement(id);
  }

}