void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiExpression arg = ObjectUtils.tryCast(element, PsiExpression.class); if (arg == null) return; PsiReferenceExpression comparedToNull = ExpressionUtils.getReferenceExpressionFromNullComparison(arg, false); if (comparedToNull == null) return; new CommentTracker().replaceAndRestoreComments(arg, comparedToNull); }