String (@NotNull final Object element) { for (ChooseByNameContributor c : getContributorList()) { if (c instanceof GotoClassContributor) { String result = ((GotoClassContributor)c).getQualifiedName((NavigationItem)element); if (result != null) { return result; } } } String elementName = getElementName(element); if (elementName == null) return null; if (element instanceof PsiElement) { return SymbolPresentationUtil.getSymbolContainerText((PsiElement)element) + "." + elementName; } return elementName; }