protected Reference pickedRef;
public Collection<INamedElement> resolvedDefUnits;
public boolean invalidPickRef = false;
public void pickLocation(Module module, int offset) {
ASTNodeFinder nodeFinder = new ASTNodeFinder(module, offset, true);
if(nodeFinder.matchOnLeft instanceof Reference) {
this.pickedNode = nodeFinder.matchOnLeft;
this.pickedRef = (Reference) pickedNode;
} else if(nodeFinder.match instanceof Reference) {