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
ICompilationUnit cu= pack1.createCompilationUnit("A.java", buf.toString(), false, null);
		doOverrideTests(cu, 1, 1, 0); 
	}
	
	public void testOverrideRaw1() throws Exception {
		IPackageFragmentRoot sourceFolder= JavaProjectHelper.addSourceContainer(fJProject1, "src");
		IPackageFragment pack1= sourceFolder.createPackageFragment("test1", false, null);
		StringBuffer buf= new StringBuffer();
		buf.append("package test1;\n");
		buf.append("public class A<S> {\n");
		buf.append("    public A() {}\n");
		buf.append("    public void r1_foo1(S s) {}\n");
		buf.append("    public void r1_foo2(A<S> s) {}\n");
 
		buf.append("}\n");
		buf.append("class B extends A {\n");
		buf.append("    public B() {}\n");
		buf.append("    @Override public void r1_foo1(Object s) {}\n");
		buf.append("    @Override public void r1_foo2(A s) {}\n");
 
		buf.append("}\n");
		ICompilationUnit cu= pack1.createCompilationUnit("A.java", buf.toString(), false, null);
		doOverrideTests(cu, 1, 1, 0); 
	}
	
	
	private void doOverrideTests(ICompilationUnit cu, int focusIndex, int overridingIndex, int overriddenIndex) throws JavaModelException {
		CompilationUnit root= assertNoCompilationError(cu);
		
		IType[] types= cu.getTypes();