Bug 114098 [content assist] Camel case completions are not inserted
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaTypeCompletionProposal.java
return completion.length > 0 && completion[completion.length - 1] == ';';
	}
	private ImportsStructure createImportStructure() {
		if (fCompilationUnit != null && allowAddingImports()) {
			IJavaProject project= fCompilationUnit.getJavaProject();
			String[] prefOrder= JavaPreferencesSettings.getImportOrderPreference(project);
			int threshold= JavaPreferencesSettings.getImportNumberThreshold(project);
			try {
				return new ImportsStructure(fCompilationUnit, prefOrder, threshold, true);
			} catch (CoreException x) {
				JavaPlugin.log(x);
			}
		}
		return null;
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal#apply(org.eclipse.jface.text.IDocument, char, int)
	 */
	public void apply(IDocument document, char trigger, int offset) {
		try {
			super.apply(document, trigger, offset);
			if (fImportStructure != null && fImportStructure.hasChanges()) {
				int oldLen= document.getLength();
				fImportStructure.getResultingEdits(document, new NullProgressMonitor()).apply(document, TextEdit.UPDATE_REGIONS);
				setReplacementOffset(getReplacementOffset() + document.getLength() - oldLen);
			}
			
			if (trigger == '(' && autocloseBrackets()) {
				document.replace(getReplacementOffset() + getCursorPosition(), 0, ")"); 
				setUpLinkedMode(document, ')');