IJ-CR-2678: Allow to change active filter rules in custom usage view
authorDmitry Neverov <dmitry.neverov@jetbrains.com>
Wed, 12 Aug 2020 12:16:42 +0000 (14:16 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 13 Aug 2020 09:07:19 +0000 (09:07 +0000)
Need it to apply custom rules for usages during refactoring.

(cherry picked from commit 344bb654443fb937c220a5b234a8b3d89f6a9baa)

GitOrigin-RevId: 88b2625f3e762283e8a4213e712409a581162d6c

platform/usageView/src/com/intellij/usages/impl/UsageViewImpl.java

index ca1e7d3b624a404257aec148fcb395c4f93c4e80..ecf9b12b48dcb1b82c0ed88aa27938daeccf1312 100644 (file)
@@ -797,7 +797,7 @@ public class UsageViewImpl implements UsageViewEx {
     }
   }
 
-  protected static UsageFilteringRule @NotNull [] getActiveFilteringRules(Project project) {
+  protected UsageFilteringRule @NotNull [] getActiveFilteringRules(Project project) {
     List<UsageFilteringRuleProvider> providers = UsageFilteringRuleProvider.EP_NAME.getExtensionList();
     List<UsageFilteringRule> list = new ArrayList<>(providers.size());
     for (UsageFilteringRuleProvider provider : providers) {