@Override
    protected HierarchyTreeStructure createHierarchyTreeStructure(String typeName, PsiElement psiElement) {
        if (getCallerType().equals(typeName)) {
            return new SdCallerTreeStructure(myProject, psiElement, getCurrentScopeType());
        }
        else if (getCalleeType().equals(typeName)) {
            return new SdCalleeTreeStructure(myProject, psiElement, getCurrentScopeType());
        }
        else {
            return null;
        }
    }
A browser for the "Call Hierarchy" window.

@author Shahar Ariel
integration/intellij/src/main/java/ai/vespa/intellij/schema/hierarchy/SdCallHierarchyBrowser.java