public class ModuleGroupingRule extends java.lang.Object implements UsageGroupingRule, DumbAware
EMPTY_ARRAY
Constructor and Description |
---|
ModuleGroupingRule(Project project,
boolean flattenModules) |
Modifier and Type | Method and Description |
---|---|
java.util.List<UsageGroup> |
getParentGroupsFor(Usage usage,
UsageTarget [] targets)
Return list of nested parent groups for a usage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRank, groupUsage
public ModuleGroupingRule(Project project, boolean flattenModules)
public java.util.List<UsageGroup> getParentGroupsFor(Usage usage, UsageTarget [] targets)
UsageGroupingRule
If the rule returns at most one parent group extend SingleParentUsageGroupingRule
and override
getParentGroupFor
instead.
getParentGroupsFor
in interface UsageGroupingRule