void (@NotNull Project project, @NotNull PsiMethodCallExpression call) { PsiMethodCallExpression qualifierCall = MethodCallUtils.getQualifierMethodCall(call); if (qualifierCall == null) return; PsiExpression left = ArrayUtil.getFirstElement(qualifierCall.getArgumentList().getExpressions()); PsiExpression right = ArrayUtil.getFirstElement(call.getArgumentList().getExpressions()); if (left == null || right == null) return; CommentTracker ct = new CommentTracker(); PsiElement element = ct.replaceAndRestoreComments(call, CommonClassNames.JAVA_UTIL_OBJECTS + ".equals(" + ct.text(left) + "," + ct.text(right) + ")"); JavaCodeStyleManager.getInstance(project).shortenClassReferences(element); }