@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PsiArrayInitializerExpression initializer, @NotNull ModPsiUpdater updater) {
    PsiVariable variable = getVariableLocal(initializer);
    if (variable == null) return;
    variable = updater.getWritable(variable);
    /*
      only for the case when in same statement with initialization
     */
    final PsiNewExpression myNewExpression = getNewExpressionLocal(initializer);

    if (!myTargetType.equals(variable.getType())) {
      fixVariableType(context.project(), variable);
    }

    if (myNewExpression != null) {
      fixArrayInitializer(initializer, myNewExpression);
    }
  }
@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PsiArrayInitializerExpression initializer, @NotNull ModPsiUpdater updater)