Bug 89013 Changes to ResultCollector --> API
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/ResultCollector.java
private IJavaCompletionProposal createPackageProposal(CompletionProposal proposal) {
		String completion= String.valueOf(proposal.getCompletion());
		int start= proposal.getReplaceStart();
		int length= getLength(proposal);
		String label= fLabelProvider.createSimpleLabel(proposal);
		Image image= getImage(fLabelProvider.createPackageImageDescriptor(proposal));
		int relevance= computeRelevance(proposal);
		return new JavaCompletionProposal(completion, start, length, image, label, relevance);
	}
	
	private IJavaCompletionProposal createTypeProposal(CompletionProposal typeProposal) {
		char[] signature= typeProposal.getSignature();
		String packageName= String.valueOf(Signature.getSignatureQualifier(signature)); 
		String typeName= String.valueOf(Signature.getSignatureSimpleName(signature));
		
		String completion= String.valueOf(typeProposal.getCompletion());
		int start= typeProposal.getReplaceStart();
		ImageDescriptor descriptor= fLabelProvider.createImageDescriptor(typeProposal);
		String label= fLabelProvider.createLabel(typeProposal);
		int relevance= computeRelevance(typeProposal);
		JavaCompletionProposal proposal= new JavaTypeCompletionProposal(completion, fCompilationUnit, start, getLength(typeProposal), getImage(descriptor), label, relevance, typeName, packageName);
		if (fJavaProject != null)
			proposal.setProposalInfo(new TypeProposalInfo(fJavaProject, typeProposal));
		
		proposal.setTriggerCharacters(TYPE_TRIGGERS);
		
		return proposal;
	}
}