class MemoryObjectTreeNode implements MutableTreeNode {

  @Override
  public void setParent(@Nullable MutableTreeNode newParent) {
    assert newParent == null || newParent instanceof MemoryObjectTreeNode;
    myParent = (MemoryObjectTreeNode<T>)newParent;
  }

  public  MemoryObjectTreeNode(@NotNull T adapter);

}