void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiMethodCallExpression call = PsiTreeUtil.getParentOfType(element, PsiMethodCallExpression.class); if (call == null) return; PsiExpression first = call.getMethodExpression().getQualifierExpression(); if (first == null) { return; } PsiExpression second = call.getArgumentList().getExpressions()[0]; CommentTracker ct = new CommentTracker(); String text = ct.text(first) + "." + getMethodName() + "(" + ct.text(second) + ")"; if (myRelationType == RelationType.NE || myRelationType == RelationType.LE || myRelationType == RelationType.GE) { text = "!" + text; } PsiBinaryExpression parent = PsiTreeUtil.getParentOfType(call, PsiBinaryExpression.class); if (parent == null) return; ct.replaceAndRestoreComments(parent, text); }