protected List<ASTEntry> getOccurrencesWithScopeAnalyzer(RefactoringRequest request) {
List<ASTEntry> entryOccurrences = new ArrayList<ASTEntry>();
IModule module = request.getModule();
try {
ScopeAnalyzerVisitor visitor = new ScopeAnalyzerVisitor(request.nature, request.moduleName, module,
new NullProgressMonitor(), request.ps);
request.getAST().accept(visitor);
entryOccurrences = visitor.getEntryOccurrences();
} catch (BadLocationException e) {
//don't log
} catch (Exception e) {
Log.log(e);
}