@Override
    protected void doUpdate(@NotNull PresentationData presentation) {
      presentation.clearText();
      if (myDelegate instanceof PresentableNodeDescriptor<?> node) {
        node.update();
        presentation.applyFrom(node.getPresentation());
      } else if (myDelegate != null) {
        NodeDescriptor<?> descriptor = myBaseStructure.createDescriptor(myDelegate, getParentDescriptor());
        descriptor.update();
        presentation.setIcon(descriptor.getIcon());
        presentation.setPresentableText(myDelegate.toString());
      }
    }
@Override
    protected void doUpdate(@NotNull PresentationData presentation)