Bug 62896 [misc] Quick Outline should not show override indicators if decorator disabled
I20040519 The quick outline shows override indicators no matter whether the Override indicator decorator is enabled in the prefs or not. We should only install the decorator if the prefs says so since this is a performance saver.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
}	
		
		private IType getDefiningType(Object element) throws JavaModelException {
			int kind= ((IJavaElement) element).getElementType();
		
			if (kind != IJavaElement.METHOD && kind != IJavaElement.FIELD && kind != IJavaElement.INITIALIZER) {
				return null;
			}
			IType declaringType= ((IMember) element).getDeclaringType();
			if (kind != IJavaElement.METHOD) {
				return declaringType;
			}
			ITypeHierarchy hierarchy= getSuperTypeHierarchy(declaringType);
			if (hierarchy == null) {
				return declaringType;
			}
			IMethod method= (IMethod) element;
			int flags= method.getFlags();
			if (Flags.isPrivate(flags) || Flags.isStatic(flags) || method.isConstructor()) {
				return declaringType;
			}
			IMethod res= JavaModelUtil.findMethodDeclarationInHierarchy(hierarchy, declaringType, method.getElementName(), method.getParameterTypes(), false);
			if (res == null || method.equals(res)) {
				return declaringType;
			}
			return res.getDeclaringType();
		}
	}
	
	private class OutlineTreeViewer extends TreeViewer {