void (@NotNull PsiElement element, @NotNull CommentTracker ct, boolean needRestoreComments) { if (!(element instanceof PsiSwitchLabelStatement labelStatement) || !SwitchUtils.isCaseNull(labelStatement)) { if (needRestoreComments) { ct.delete(element); } else { new CommentTracker().deleteAndRestoreComments(element); } } }