void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiMethodCallExpression stripCall = PsiTreeUtil.getNonStrictParentOfType(element, PsiMethodCallExpression.class); if (stripCall == null) return; PsiMethodCallExpression isEmptyCall = ExpressionUtils.getCallForQualifier(stripCall); if (isEmptyCall == null) return; PsiExpression qualifier = ExpressionUtils.getEffectiveQualifier(stripCall.getMethodExpression()); if (qualifier == null) return; new CommentTracker().replaceAndRestoreComments(stripCall, qualifier); ExpressionUtils.bindCallTo(isEmptyCall, "isBlank"); }