Bug 60349 [implementation] reduce warnings due to core.runtime deprecations
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
if (fOccurrencesFinderJob != null) {
			fOccurrencesFinderJob.cancel();
			fOccurrencesFinderJob= null;
		}
		
		if (fPostSelectionListenerWithAST != null) {
			SelectionListenerWithASTManager.getDefault().removeListener(this, fPostSelectionListenerWithAST);
			fPostSelectionListenerWithAST= null;
		}
		
		removeOccurrenceAnnotations();
	}
	
	protected boolean isMarkingOccurrences() {
		return fMarkOccurrenceAnnotations;
	}
	
	boolean markOccurrencesOfType(IBinding binding) {
		
		if (binding == null)
			return false;
		
		int kind= binding.getKind();
		if (fMarkTypeOccurrences && kind == IBinding.TYPE)
			return true;
		if (fMarkMethodOccurrences && kind == IBinding.METHOD)
			return true;
		if (kind == IBinding.VARIABLE) {
			IVariableBinding variableBinding= (IVariableBinding)binding;
			if (variableBinding.isField()) {