String () { return switch (myMode) { case HIGHLIGHT_CONFLICTS -> JavaRefactoringBundle.message("inline.popup.highlight", myAllRefs.size()); case ASK -> JavaRefactoringBundle.message("inline.popup.ignore.conflicts"); case INLINE_ONE -> RefactoringBundle.message("inline.popup.this.only"); case INLINE_ALL_AND_DELETE -> RefactoringBundle.message("inline.popup.all", myAllRefs.size()); default -> throw new IllegalStateException("Unexpected value: " + myMode); }; }