Collection<LookupElementAction> (LookupElement element) { final CollectConsumer<LookupElementAction> consumer = new CollectConsumer<>(); for (LookupActionProvider provider : LookupActionProvider.EP_NAME.getExtensions()) { provider.fillActions(element, this, consumer); } if (!consumer.getResult().isEmpty()) { consumer.consume(new ShowHideIntentionIconLookupAction()); } return consumer.getResult(); }