String (@NotNull final PsiElement element, @Nullable final ElementDescriptionLocation location) { if (element instanceof IProperty) { if (location instanceof DeleteTypeDescriptionLocation) { int count = ((DeleteTypeDescriptionLocation) location).isPlural() ? 2 : 1; return IdeBundle.message("prompt.delete.property", count); } if (location instanceof UsageViewLongNameLocation) { return ((IProperty) element).getKey(); } } return null; }