@Override
  protected @Nullable PsiClass getSelectedFromTreeUserObject(DefaultMutableTreeNode node) {
    if (!(node.getUserObject() instanceof ClassTreeNode descriptor)) return null;
    return descriptor.getPsiClass();
  }
@Override
  protected @Nullable PsiClass getSelectedFromTreeUserObject(DefaultMutableTreeNode node)