@Override
  @NotNull
  public String getDescriptiveName(@NotNull PsiElement element) {
    if (element instanceof PsiNamedElement) {
      return StringUtil.notNullize(((PsiNamedElement)element).getName());
    }
    return element.getText();
  }
@Override
  @NotNull
  public String getDescriptiveName(@NotNull PsiElement element)