Bug 108700 [typing] Automatically close parenthesis does not work when content assist popup is up
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java
setReplacementLength(fProposal.getReplaceEnd() - fProposal.getReplaceStart());
		return fReplacementLength;
	}
	/**
	 * Sets the replacement length.
	 * @param replacementLength The replacementLength to set
	 */
	public final void setReplacementLength(int replacementLength) {
		Assert.isTrue(replacementLength >= 0);
		fReplacementLengthComputed= true;
		fReplacementLength= replacementLength;
	}
	/**
	 * Gets the replacement string.
	 * @return Returns a String
	 */
	public final String getReplacementString() {
		if (!fReplacementStringComputed)
			setReplacementString(computeReplacementString());
		return fReplacementString;
	}
	protected String computeReplacementString() {
		return String.valueOf(fProposal.getCompletion());
	}
	/**
	 * Sets the replacement string.
	 * @param replacementString The replacement string to set
	 */
	public final void setReplacementString(String replacementString) {
		Assert.isNotNull(replacementString);