MyRefResolver.jadd 364 Bytes
Newer Older
1
2
3
aspect MyRewrites {

  // context-independent name resolution
4
5
6
  refine RefResolverStubs eq ASTNode.globallyResolveNamedElementByToken(String id) = root().findNamedElement(id);
  refine RefResolverStubs eq ASTNode.globallyResolveAByToken(String id) = root().findA(id);
  refine RefResolverStubs eq ASTNode.globallyResolveBByToken(String id) = root().findB(id);
7

8
9
}