Presentation (@NotNull ActionContext context, @NotNull PsiReturnStatement element) { String toDelete = myIsLastStatement ? "statement" : "value"; String message = QuickFixBundle.message(myHasSideEffects ? "delete.return.fix.side.effects.text" : "delete.return.fix.text", toDelete); return Presentation.of(message); }