new JavaContentAssistInvocationContext(viewer, offset, editor);
IJavaCompletionProposalComputer computer =
new GroovyCompletionProposalComputer();
List<ICompletionProposal> proposals =
computer.computeCompletionProposals(context, null);
editor.close(false);
if(proposals == null){
proposals = Collections.emptyList();