Bug 96748 [content assist] invalid positioning of parameter hints
build 200505250010 1) have the following code snippet class A { boolean method1(String arg1, String arg2) { return true; } boolean method2() { return method1("dsds",); } } 2) invoke content assist at directly after the opening '(' in the method1 call --> parameter hint comes up, OK 3) move caret behind the ',' --> parameter hint updates, highlighting the second parameter, OK 4) invoke content assist --> new parameter hint comes up, incorrectly placed and incorrectly initialized
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java
LinkedModeUI ui= new EditorLinkedModeUI(model, getTextViewer());
					ui.setSimpleMode(true);
					ui.setExitPolicy(new JavaMethodCompletionProposal.ExitPolicy(')', document));
					ui.setExitPosition(getTextViewer(), newOffset + 1, 0, Integer.MAX_VALUE);
					ui.setCyclingMode(LinkedModeUI.CYCLE_NEVER);
					ui.enter();
				}
			}
		}
	}
	
	public CharSequence getPrefixCompletionText(IDocument document, int completionOffset) {
		String string= getReplacementString();
		int pos= string.indexOf('(');
		if (pos > 0)
			return string.subSequence(0, pos);
		else
			return string;
	}
	
	protected IContextInformation computeContextInformation() {
		
		
		if (fProposal.getKind() == CompletionProposal.METHOD_REF &&  hasParameters() && (getReplacementString().endsWith(")") || getReplacementString().length() == 0)) 
			return new ProposalContextInformation(fProposal);
		return super.computeContextInformation();
	}
	
	protected char[] computeTriggerCharacters() {
		if (hasParameters())