Bug 92563 [content assist] Warm code assist performance for many types
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalCollector.java
}
		} else {
			proposal.setTriggerCharacters(METHOD_TRIGGERS);
		}
		return proposal;
	}
	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[] fullName= Signature.toCharArray(typeProposal.getSignature());
		String completion= String.valueOf(typeProposal.getCompletion());
		int start= typeProposal.getReplaceStart();
		ImageDescriptor descriptor= fLabelProvider.createTypeImageDescriptor(typeProposal);
		String label= fLabelProvider.createTypeProposalLabel(fullName);
		int relevance= computeRelevance(typeProposal);
		JavaCompletionProposal proposal= new JavaTypeCompletionProposal(completion, fCompilationUnit, start, getLength(typeProposal), getImage(descriptor), label, relevance, new String(fullName));
		if (fJavaProject != null)
			proposal.setProposalInfo(new TypeProposalInfo(fJavaProject, typeProposal));
		proposal.setTriggerCharacters(TYPE_TRIGGERS);
		return proposal;
	}
}