void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiMethodCallExpression call = tryCast(element, PsiMethodCallExpression.class); if (call == null) return; PsiExpression qualifier = call.getMethodExpression().getQualifierExpression(); if (qualifier == null) return; if (myBindPreviousCall != null) { PsiMethodCallExpression qualifierCall = MethodCallUtils.getQualifierMethodCall(call); if (qualifierCall == null) return; ExpressionUtils.bindCallTo(qualifierCall, myMethodName); } new CommentTracker().replaceAndRestoreComments(call, qualifier); }