void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { CommentTracker tracker = new CommentTracker(); String text = (deepHashCode ? "java.util.Arrays.deepHashCode(" : "java.util.Arrays.hashCode(") + tracker.text(element) + ')'; PsiElement result = tracker.replaceAndRestoreComments(element, text); JavaCodeStyleManager.getInstance(result.getProject()).shortenClassReferences(result); }