public final @Nullable PsiSymbolDeclaration getSymbolDeclaration() {
    var declaringElement = getElement();
    if (declaringElement == null) {
      return null;
    }
    var declaredSymbol = getSymbol();
    if (declaredSymbol == null) {
      return null;
    }
    for (PsiSymbolDeclaration symbolDeclaration : Declarations.allDeclarationsInElement(declaringElement)) {
      if (Objects.equals(declaredSymbol, symbolDeclaration.getSymbol())) {
        return symbolDeclaration;
      }
    }
    return null;
  }
public final @Nullable PsiSymbolDeclaration getSymbolDeclaration()