Bug 63637 Mark method exits does not work for non-primitive types
3.0 M9 It works for methods with primitive or void return types. Steps to reproduce: 1. Select method with a non-primitive return type. Expected result: The method exists are marked Actual result: The occurrences of the type in the file are marked.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java
private AST fAST;
	private MethodDeclaration fMethodDeclaration;
	private List fResult;
	private List fCatchedExceptions;
	public String initialize(CompilationUnit root, int offset, int length) {
		fAST= root.getAST();
		ASTNode node= NodeFinder.perform(root, offset, length);
		if (!(node instanceof Type))
			return SearchMessages.getString("MethodExitsFinder.no_return_type_selected"); 
		Type type= ASTNodes.getTopMostType((Type)node);
		if (!(type.getParent() instanceof MethodDeclaration))
			return SearchMessages.getString("MethodExitsFinder.no_return_type_selected"); 
		fMethodDeclaration= (MethodDeclaration)type.getParent();
		return null;
	}
	public List perform() {
		fResult= new ArrayList();
		fCatchedExceptions= new ArrayList();
		fMethodDeclaration.accept(this);