@NotNull
 private JsExpression translateAsMethodCall(
     @NotNull JsExpression arrayExpression, @Nullable JsExpression toSetTo) {
   boolean isGetter = toSetTo == null;
   TranslationContext context = context();
   ResolvedCall<FunctionDescriptor> resolvedCall =
       BindingUtils.getResolvedCallForArrayAccess(bindingContext(), expression, isGetter);
   if (!isGetter) {
     context = contextWithValueParameterAliasInArrayGetAccess(toSetTo);
   }
   return CallTranslator.translate(context, resolvedCall, arrayExpression);
 }
 @NotNull
 private JsExpression translate() {
   return CallTranslator.translate(context(), resolvedCall, receiver);
 }