Bug 92563 [content assist] Warm code assist performance for many types
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java
}
		private String getCoreOption(IJavaProject project, String key) {
			if (project == null)
				return JavaCore.getOption(key);
			return project.getOption(key, true);
		}
	}
	private IRegion fSelectedRegion; 
	private final CompletionContext fContext;
	private final CompletionProposal fProposal;
	public GenericJavaTypeProposal(CompletionProposal typeProposal, CompletionContext context, int offset, int length, ICompilationUnit cu, Image image, String displayString, int relevance) {
		super(String.valueOf(typeProposal.getCompletion()), cu, offset, length, image, displayString, relevance, String.valueOf(Signature.toCharArray(typeProposal.getSignature())));
		fProposal= typeProposal;
		fContext= context;
	}
	/*
	 * @see ICompletionProposalExtension#apply(IDocument, char)
	 */
	public void apply(IDocument document, char trigger, int offset) {
		if (shouldAppendArguments(document, offset)) {
			try {
				TypeArgumentProposal[] typeArgumentProposals= computeTypeArgumentProposals();
				if (typeArgumentProposals.length > 0) {
					int[] offsets= new int[typeArgumentProposals.length];
					int[] lengths= new int[typeArgumentProposals.length];
					StringBuffer buffer= createParameterList(typeArgumentProposals, offsets, lengths);
					
					super.setReplacementString(buffer.toString());
					
					super.apply(document, trigger, offset);