void (@NotNull final AnActionEvent e) { super.update(e); Project project = e.getProject(); if (project != null) { for (DebuggerSupport support : DebuggerSupport.getDebuggerSupports()) { DebuggerToggleActionHandler handler = support.getMuteBreakpointsHandler(); if (handler.isEnabled(project, e)) { e.getPresentation().setEnabled(true); return; } } } e.getPresentation().setEnabled(false); }