protected List<ASTEntry> findReferencesOnOtherModule(RefactoringStatus status, String initialName,
SourceModule module) {
List<ASTEntry> entryOccurrences = new ArrayList<ASTEntry>();
try {
ScopeAnalyzerVisitorForImports visitor = new ScopeAnalyzerVisitorForImports(request.nature,
module.getName(), module, new NullProgressMonitor(), request.ps.getCurrToken().o1,
request.ps.getActivationTokenAndQual(true), moduleToFind);
SimpleNode root = module.getAst();
root.accept(visitor);
entryOccurrences = visitor.getEntryOccurrences();
if (entryOccurrences.size() > 0) {
//only add comments and strings if there's at least some other occurrence
entryOccurrences.addAll(ScopeAnalysis.getCommentOccurrences(request.initialName, root));
entryOccurrences.addAll(ScopeAnalysis.getStringOccurrences(request.initialName, root));
}