void (@NotNull DefaultActionGroup group) { if (getPresentation().isCodeUsages()) { JComponent component = getComponent(); List<AnAction> actions = usageFilteringRuleActions(myProject, myFilteringRulesState); for (AnAction action : actions) { action.registerCustomShortcutSet(component, this); group.add(action); } } for (UsageFilteringRuleProvider provider : UsageFilteringRuleProvider.EP_NAME.getExtensionList()) { //noinspection deprecation AnAction[] providerActions = provider.createFilteringActions(this); for (AnAction action : providerActions) { group.add(action); } } }