public class UsageViewUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createNodeText(PsiElement element) |
static java.lang.String |
getLongName(PsiElement psiElement) |
static java.util.Set<UsageInfo> |
getNotExcludedUsageInfos(UsageView usageView) |
static java.lang.String |
getShortName(PsiElement psiElement) |
static java.lang.String |
getType(PsiElement psiElement) |
static boolean |
hasReadOnlyUsages(UsageInfo [] usages) |
static void |
navigateTo(UsageInfo info,
boolean requestFocus) |
static UsageInfo [] |
removeDuplicatedUsages(UsageInfo [] usages) |
static boolean |
reportNonRegularUsages(UsageInfo [] usages,
Project project) |
static PsiElement [] |
toElements(UsageInfo [] usageInfos) |
static UsageInfo [] |
toUsageInfoArray(java.util.Collection<? extends UsageInfo> collection) |
public static java.lang.String createNodeText(PsiElement element)
public static java.lang.String getShortName(PsiElement psiElement)
public static java.lang.String getLongName(PsiElement psiElement)
public static java.lang.String getType(PsiElement psiElement)
public static boolean hasReadOnlyUsages(UsageInfo [] usages)
public static UsageInfo [] toUsageInfoArray(java.util.Collection<? extends UsageInfo> collection)
public static PsiElement [] toElements(UsageInfo [] usageInfos)
public static void navigateTo(UsageInfo info, boolean requestFocus)
public static java.util.Set<UsageInfo> getNotExcludedUsageInfos(UsageView usageView)