void (@NotNull AnActionEvent e) { if (!Registry.is("debugger.collection.watchpoints.enabled")) { Presentation presentation = e.getPresentation(); presentation.setEnabledAndVisible(false); return; } super.update(e); }