void (@NotNull Project project, @NotNull PsiMethodCallExpression call) { PsiMethodCallExpression qualifierCall = MethodCallUtils.getQualifierMethodCall(call); if (qualifierCall == null) return; PsiExpression mapExpression = qualifierCall.getMethodExpression().getQualifierExpression(); if (mapExpression == null) return; CommentTracker ct = new CommentTracker(); ct.replaceAndRestoreComments(qualifierCall, mapExpression); ExpressionUtils.bindCallTo(call, myReplacementMethod); }