public void valueChanged(@Nullable StubElement<?> stub) {
    if (myStubDetailsTree.isEnabled()) {
      Disposable treeModelDisposable = myStubViewerTree.myTreeModelDisposable;
      StructureTreeModel<?> model = new StructureTreeModel<>(
        new StubDetailsTreeStructure(stub), null, Invoker.forEventDispatchThread(treeModelDisposable), treeModelDisposable
      );
      myStubDetailsTree.setModel(model);
      myStubDetailsTree.expandRow(0);
      myStubDetailsTree.treeDidChange();
    }
  }
public void valueChanged(@Nullable StubElement<?> stub)