protected SearchResultGroup[] getOccurrences(IProgressMonitor pm, RefactoringStatus status) throws CoreException { SearchPattern pattern= createOccurrenceSearchPattern(); return RefactoringSearchEngine.search(pattern, createRefactoringScope(), new MethodOccurenceCollector(getMethod().getElementName()), pm, status);
SearchResultGroup[] getOccurrences(){ return fOccurrences;
	protected SearchResultGroup[] getOccurrences(IProgressMonitor pm, RefactoringStatus status) throws CoreException {		SearchPattern pattern= createOccurrenceSearchPattern();		return RefactoringSearchEngine.search(pattern, createRefactoringScope(),			new MethodOccurenceCollector(getMethod().getElementName()), pm, status);		}