if (!fileOffsets.isEmpty()) {
GlobalReferenceDeclSearcher varSearcher = new GlobalReferenceDeclSearcher(
sourceModule, fileOffsets, variableName);
try {
moduleDeclaration.traverse(varSearcher);
DeclarationScope[] scopes = varSearcher.getScopes();
for (DeclarationScope s : scopes) {
for (Declaration decl : s
.getDeclarations(variableName)) {