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/JavaMethodCompletionProposal.java
if (offset > 0) {
						try {
							if (fDocument.getChar(offset - 1) == '{')
								return new ExitFlags(ILinkedModeListener.EXIT_ALL, true);
						} catch (BadLocationException e) {
						}
					}
					
				default:
					return null;
			}
		}
	
	}
	
	protected final ICompilationUnit fCompilationUnit;
	
	private boolean fHasParameters;
	private boolean fHasParametersComputed= false;
	private int fContextInformationPosition;
	public JavaMethodCompletionProposal(CompletionProposal proposal, ICompilationUnit cu) {
		super(proposal);
		fCompilationUnit= cu;
	}
	public void apply(IDocument document, char trigger, int offset) {
		super.apply(document, trigger, offset);
		try {
			setUpLinkedMode(document, getReplacementString());
		} catch (BadLocationException e) {