use of com.intellij.usages.PsiElementUsageGroupBase in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoFileStructureGroupRuleTest method getGroupElement.
@NotNull
private PsiElement getGroupElement() {
UsageGroup group = GoFileStructureGroupRuleProvider.USAGE_GROUPING_RULE.groupUsage(findSingleUsage());
assertNotNull(group);
assertInstanceOf(group, PsiElementUsageGroupBase.class);
return ((PsiElementUsageGroupBase) group).getElement();
}
Aggregations