@Override
  protected void processIntention(@NotNull PsiElement element, @NotNull ActionContext context, @NotNull ModPsiUpdater updater) {
    final GrMethodCallExpression callExpression =
      (GrMethodCallExpression)element;
    final GrArgumentList argList = callExpression.getArgumentList();
    final GrExpression[] arguments = argList.getExpressionArguments();

    GrReferenceExpression methodExpression = (GrReferenceExpression)callExpression.getInvokedExpression();

    final String methodName = methodExpression.getReferenceName();
    final GrExpression qualifier = methodExpression.getQualifierExpression();
    if ("getAt".equals(methodName) || "get".equals(methodName)) {
      PsiImplUtil.replaceExpression(qualifier.getText() + '[' + arguments[0].getText() + ']',
                                    callExpression);
    }
    else {
      PsiImplUtil.replaceExpression(qualifier.getText() + '[' + arguments[0].getText() + "]=" + arguments[1].getText(),
                                    callExpression);
    }
  }
@Override
  protected void processIntention(@NotNull PsiElement element, @NotNull ActionContext context, @NotNull ModPsiUpdater updater)