Bug 63145 Mark method exits by itself is not working
Build I200405190010 1. Check Java > Editor > Mark occurrences > Mark method exits (only) 2. Select the return type of a method containinga return statement Observe: the return type is not highlighted. Expectation: it should be. 3. Check Java > Editor > Mark occurrences > Mark exceptions (in addition to Mark method exits) 4. Select the return type again Observe: the return type is highlighted.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
ITextViewer textViewer= getViewer(); 
			if (textViewer == null)
				return Status.CANCEL_STATUS;
			
			IDocument document= textViewer.getDocument();
			if (document == null)
				return Status.CANCEL_STATUS;
			
			IDocumentProvider documentProvider= getDocumentProvider();
			if (documentProvider == null)
				return Status.CANCEL_STATUS;
		
			IAnnotationModel annotationModel= documentProvider.getAnnotationModel(getEditorInput());
			if (annotationModel == null)
				return Status.CANCEL_STATUS;
			
			
			int length= fPositions.length;
			Map annotationMap= new HashMap(length);
			for (int i= 0; i < length; i++) {
				
				if (isCanceled())
					return Status.CANCEL_STATUS; 
				
				String message;
				Position position= fPositions[i];
				
				
				try {