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