My approach is to return a list of proposals, which has only 1 item, and
force Eclipse's content assistant mechanism to choose that item, so that
the method
org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(ICompletionProposal
p, char trigger, int stateMask, final int offset) gets executed and does
its magic.