@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PsiVariable variable, @NotNull ModPsiUpdater updater) {
    final LookupElement[] suggestedInitializers = suggestInitializer(variable);
    LOG.assertTrue(suggestedInitializers.length > 0);
    LookupElement firstLookupElement = suggestedInitializers[0];
    LOG.assertTrue(firstLookupElement instanceof ExpressionLookupItem);
    final PsiExpression initializer = (PsiExpression)firstLookupElement.getObject();
    variable.setInitializer(initializer);
    ModTemplateBuilder builder = updater.templateBuilder();
    builder.field(Objects.requireNonNull(variable.getInitializer()),
                  new ConstantNode(new PsiElementResult(firstLookupElement.getPsiElement())).withLookupItems(
                    suggestedInitializers));
  }
@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PsiVariable variable, @NotNull ModPsiUpdater updater)