Bug 116419 code assist regression: POTENTIAL_METHOD_DECLARATION not offered anymore
20051115 With v_621 we have a test failure in CodeCompletionTest.testConstructorCompletion: The call with 'POTENTIAL_METHOD_DECLARATION' is not occuring anymore.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeCompletionTest.java
buf.append("public class A {\n");
		buf.append("    public void foo() {\n");
		buf.append("        Runnable run= new Runnable(\n");
		buf.append("    }\n");
		buf.append("}\n");
		String contents= buf.toString();
		ICompilationUnit cu= pack1.createCompilationUnit("A.java", contents, false, null);
		String str= "Runnable run= new Runnable(";
		int offset= contents.indexOf(str) + str.length();
		CompletionProposalCollector collector= createCollector(cu, offset);
		collector.setReplacementLength(0);
		codeComplete(cu, offset, collector);
		IJavaCompletionProposal[] proposals= collector.getJavaCompletionProposals();
		assertNumberOf("proposals", proposals.length, 1);
		IDocument doc= new Document(contents);
		proposals[0].apply(doc);
		buf= new StringBuffer();
		buf.append("package test1;\n" +
				"public class A {\n" +
				"    public void foo() {\n" +
				"        Runnable run= new Runnable(){\n" +
				"        \n" +
				"            public void run() {\n" +
				"                //TODO\n" +
				"                \n" +
				"            }\n" +
				"        \n" +
				"        };\n" +
				"    }\n" +
				"}\n" +