void (@NotNull AnActionEvent event) { Project project = event.getProject(); Presentation presentation = event.getPresentation(); if (LightEdit.owns(project)) { presentation.setEnabledAndVisible(!ActionPlaces.EDITOR_POPUP.equals(event.getPlace())); return; } super.update(event); boolean isInFloatingToolbar = ActionPlaces.EDITOR_FLOATING_TOOLBAR.equals(event.getPlace()); if (isInFloatingToolbar || ActionPlaces.EDITOR_HINT.equals(event.getPlace())) { presentation.setIcon(AllIcons.Actions.IntentionBulb); } if ( isInFloatingToolbar && Registry.is("floating.codeToolbar.showIntentionsUnderPopup")) { presentation.setPopupGroup(true); } }