void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { if (!(element instanceof PsiExpression expression)) { return; } CommentTracker tracker = new CommentTracker(); String text = tracker.text(expression, ParenthesesUtils.BINARY_AND_PRECEDENCE); tracker.replace(expression, text + "& 0xFF"); }