void (@NotNull final AnActionEvent event) { if (CodeInsightActions.DELEGATE_METHODS.hasAnyExtensions()) { event.getPresentation().setVisible(true); super.update(event); } else { event.getPresentation().setVisible(false); } }