Bug 92801 [content assist] additional info (javadoc) missing
I20050426-0849 The additional info (javadoc) is missing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java
}
	
	}
	
	protected final ICompilationUnit fCompilationUnit;
	
	private boolean fHasParameters;
	private boolean fHasParametersComputed= false;
	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) {
			
		}
	}
	private void setUpLinkedMode(IDocument document, String string) throws BadLocationException {
		if (getTextViewer() != null && string != null) {
			int index= string.indexOf("()"); 
			if (index != -1 && index + 1 == getCursorPosition()) {
				IPreferenceStore preferenceStore= JavaPlugin.getDefault().getPreferenceStore();
				if (preferenceStore.getBoolean(PreferenceConstants.EDITOR_CLOSE_BRACKETS)) {
					int newOffset= getReplacementOffset() + getCursorPosition();
					LinkedPositionGroup group= new LinkedPositionGroup();
					group.addPosition(new LinkedPosition(document, newOffset, 0, LinkedPositionGroup.NO_STOP));
					LinkedModeModel model= new LinkedModeModel();