Bug 62878 [misc] Mark Occurrences of exceptions/types inconsistent
I200405190010 - disable Mark Exceptions - enable Mark Types - in TestCase: - position cursor on Throwable of runBare() declaration -> type Throwable is marked - posititon cursor on Throwable of runTest() delcaration -> type Throwable is not marked This is inconsistent.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
}
	
	public boolean visit(TypeDeclarationStatement node) {
		
		return false;
	}
	
	private boolean matches(IMethodBinding binding) {
		if (binding == null)
			return false;
		ITypeBinding[] exceptions= binding.getExceptionTypes();
		for (int i = 0; i < exceptions.length; i++) {
			ITypeBinding exception= exceptions[i];
			if(matches(exception))
				return true;
		}
		return false;
	}
	private boolean matches(ITypeBinding exception) {
		if (exception == null)
			return false;
		while (exception != null) {
			if (Bindings.equals(fException, exception))
				return true;
			exception= exception.getSuperclass();
		}
		return false;
	}
}