Bug 107110 IMethodBinding.isSubsignature not yet correctly implemented
20050816 HEAD I added a new test 'MethodOverrideTest' to test our implementation of isSubignature but for IMethod. The results are compared the IMethodBinding.isSubsignature, which seems to not correctly implemented yet. In MethodOverrideTest (org.eclipse.jdt.ui.tests) turn DEBUG_SHOWRESULTS to true to see the problems.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/MethodOverrideTest.java
int start= node.getStartPosition();
			int end= start + node.getLength();
			
			IProblem[] problems= root.getProblems();
			for (int i= 0; i < problems.length; i++) {
				IProblem prob= problems[i];
				if (prob.getID() == IProblem.MethodMustOverride) {
					int pos= prob.getSourceStart();
					if (start <= pos && pos < end) {
						return Boolean.FALSE;
					}
				}
			}
			return Boolean.TRUE;
		}
		return null;
	}
	
	private boolean hasOverrideAnnotation(MethodDeclaration declaration) {
		List list= declaration.modifiers();
		for (int i= 0; i < list.size(); i++) {
			if (list.get(i) instanceof Annotation) {
				return "Override".equals(((Annotation) list.get(i)).getTypeName().getFullyQualifiedName());
			}
		}
		return false;
	}
	
}