Bug 114098 [content assist] Camel case completions are not inserted
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java
*/
	public boolean validate(IDocument document, int offset, DocumentEvent event) {
		if (offset < getReplacementOffset())
			return false;
		
		/*
		 * See http://dev.eclipse.org/bugs/show_bug.cgi?id=17667
		 * why we do not use the replacement string.
		 * String word= fReplacementString;
		 */
		String expected= getDisplayString(); 
		if (fProposal.getKind() == CompletionProposal.METHOD_NAME_REFERENCE) {
			
			StringBuffer buf= new StringBuffer();
			buf.append(Signature.toCharArray(fProposal.getDeclarationSignature()));
			buf.append('.');
			buf.append(expected);
			expected= buf.toString();
		} 
		boolean validated= startsWith(document, offset, expected);
		if (validated && event != null) {
			
			int delta= (event.fText == null ? 0 : event.fText.length()) - event.fLength;
			final int newLength= Math.max(getReplacementLength() + delta, 0);
			setReplacementLength(newLength);
		}
		return validated;
	}
	/**
	 * Gets the proposal's relevance.