int (@NotNull CachedIntentions context, @NotNull IntentionActionWithTextCaching action) { int group = context.getGroup(action).getPriority(); IntentionAction nonDelegatedAction = findNonDelegatedAction(action.getAction()); if (nonDelegatedAction instanceof PriorityAction) { return group + getPriorityWeight(((PriorityAction)nonDelegatedAction).getPriority()); } if (nonDelegatedAction instanceof SuppressIntentionActionFromFix) { if (((SuppressIntentionActionFromFix)nonDelegatedAction).isShouldBeAppliedToInjectionHost() == ThreeState.NO) { return group - 1; } } return group; }