String (@NotNull PsiElement element, @NotNull ElementDescriptionLocation location) { if (location instanceof UsageViewLongNameLocation) { if (element instanceof PsiNamedElement && element instanceof PyElement) { return ((PsiNamedElement)element).getName(); } } return null; }