public static @NotNull @NlsSafe String getElementDescription(@NotNull PsiElement element,
                                                               @NotNull ElementDescriptionLocation location) {
    for (ElementDescriptionProvider provider : ElementDescriptionProvider.EP_NAME.getExtensionList()) {
      String result = provider.getElementDescription(element, location);
      if (result != null) {
        return result;
      }
    }

    ElementDescriptionProvider defaultProvider = location.getDefaultProvider();
    if (defaultProvider != null) {
      String result = defaultProvider.getElementDescription(element, location);
      if (result != null) {
        return result;
      }
    }

    return element.toString();
  }
public static @NotNull @NlsSafe String getElementDescription(@NotNull PsiElement element,
                                                               @NotNull ElementDescriptionLocation location)