proposal.setCursorPosition(completionName.length - 1);
proposal.setCursorPosition(completion.length() - 1);
	private IJavaCompletionProposal createMethodReferenceProposal(CompletionProposal methodProposal) {		Image image= getImage(fLabelProvider.createImageDescriptor(methodProposal));		String displayName= fLabelProvider.createLabel(methodProposal);		String completion= String.valueOf(methodProposal.getCompletion());		int start= methodProposal.getReplaceStart();		int relevance= methodProposal.getRelevance();				JavaCompletionProposal proposal= new JavaCompletionProposal(completion, start, getLength(methodProposal), image, displayName, relevance);				if (fJavaProject != null)			proposal.setProposalInfo(new MethodProposalInfo(fJavaProject, methodProposal));		char[] completionName= methodProposal.getCompletion();		boolean hasParameters= Signature.getParameterCount(methodProposal.getSignature()) > 0;		if (hasParameters) {			IContextInformation contextInformation= createMethodContextInformation(methodProposal);			proposal.setContextInformation(contextInformation);					proposal.setTriggerCharacters(METHOD_WITH_ARGUMENTS_TRIGGERS);						if (completionName.length > 0) {				// set the cursor before the closing bracket				proposal.setCursorPosition(completionName.length - 1);			}		} else {			proposal.setTriggerCharacters(METHOD_TRIGGERS);		}				return proposal;	}