JavaCompletionProposal[] proposals= collector.getResults();
IJavaCompletionProposal[] proposals= collector.getJavaCompletionProposals();
	public void testNormalAllMethodCompletionWithParametersGuessed() throws Exception {		IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();		store.setValue(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS, true);		IPackageFragmentRoot sourceFolder= JavaProjectHelper.addSourceContainer(fJProject1, "src");		IPackageFragment pack1= sourceFolder.createPackageFragment("test1", false, null);		String contents= "package test1;\n" +				 "\n" +				 "public class Completion {\n" +				 "    \n" +				 "    void foomethod() {\n" +				 "        int intVal=5;\n" +				 "        long longVal=3;\n" +				 "        Runnable run;\n" +				 "        run.//here\n" +				 "    }\n" +				 "}\n";		ICompilationUnit cu= pack1.createCompilationUnit("Completion.java", contents, false, null);		String str= "//here";		int offset= contents.indexOf(str);		ResultCollector collector= new ExperimentalResultCollector();		collector.reset(offset, cu.getJavaProject(), cu);		collector.setViewer(null);		collector.setReplacementLength(0);		collector.setPreventEating(true);		codeComplete(cu, offset, collector);		JavaCompletionProposal[] proposals= collector.getResults();		JavaCompletionProposalComparator comparator= new JavaCompletionProposalComparator();		comparator.setOrderAlphabetically(true);		Arrays.sort(proposals, comparator);		int i= 0;		assertAppliedProposal(contents, proposals[i++], "clone()");		assertAppliedProposal(contents, proposals[i++], "equals(run)");		assertAppliedProposal(contents, proposals[i++], "finalize()");		assertAppliedProposal(contents, proposals[i++], "getClass()");		assertAppliedProposal(contents, proposals[i++], "hashCode()");		assertAppliedProposal(contents, proposals[i++], "notify()");		assertAppliedProposal(contents, proposals[i++], "notifyAll()");		assertAppliedProposal(contents, proposals[i++], "run()");		assertAppliedProposal(contents, proposals[i++], "toString()");		assertAppliedProposal(contents, proposals[i++], "wait()");		assertAppliedProposal(contents, proposals[i++], "wait(longVal)");		assertAppliedProposal(contents, proposals[i++], "wait(longVal, intVal)");		assertEquals(i, proposals.length);	}