Bug 91550 [navigation] Selecting 'return' should also mark method exits
Build 3.1m6 Identifying quickly all return statements using mark occurrences would be nice.
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);
		Type type= null;
		if (node instanceof Type) {
			type= (Type)node;
		} else  if (node instanceof Name) {
			Name name= ASTNodes.getTopMostName((Name)node);
			if (name.getParent() instanceof Type) {
				type= (Type)name.getParent();
			}
		}