@Override
public IScriptCompletionProposal[] getAssists(IInvocationContext context, IProblemLocation[] locations) throws CoreException {
final ASTNode coveringNode = context.getCoveringNode();
if (hasAssists(context)) {
return new IScriptCompletionProposal[]{
new AssignToLocalCompletionProposal(context.getCompilationUnit(), coveringNode)
};
}
return null;
}