@NotNull
  @Override
  public String getDescriptiveName(@NotNull PsiElement element) {
    if (element instanceof PsiNamedElement) {
      String name = ((PsiNamedElement)element).getName();
      if (name != null) return name;
    }
    return element.getText();
  }
@NotNull
  @Override
  public String getDescriptiveName(@NotNull PsiElement element)