@Override
  public boolean nextTabOnItemSelected(final ExpressionContext context, final LookupElement item) {
    final List<? extends PsiElement> elements = JavaCompletionUtil.getAllPsiElements(item);
    if (elements != null && elements.size() == 1 && elements.get(0) instanceof PsiPackage) {
      return false;
    }

    Editor editor = context.getEditor();
    if (editor != null && editor.getUserData(JavaMethodCallElement.ARGUMENT_TEMPLATE_ACTIVE) != null) {
      return item.as(ClassConditionKey.create(SmartCompletionDecorator.class)) != null;
    }

    return true;
  }
@Override
  public boolean nextTabOnItemSelected(final ExpressionContext context, final LookupElement item)