Presentation (@NotNull ActionContext context, @NotNull PsiCaseLabelElement element) { return Presentation.of(myBranch ? JavaAnalysisBundle.message("remove.switch.branch.0", myName) : JavaAnalysisBundle.message("remove.switch.label.0", myName)); }