String (@NotNull PsiElement element) { if (element instanceof PsiPackage) { return HelpID.FIND_PACKAGE_USAGES; } if (element instanceof PsiClass) { return HelpID.FIND_CLASS_USAGES; } if (element instanceof PsiMethod) { return HelpID.FIND_METHOD_USAGES; } if (ThrowSearchUtil.isSearchable(element)) { return HelpID.FIND_THROW_USAGES; } return com.intellij.lang.HelpID.FIND_OTHER_USAGES; }