@Override
    public SliceNode getParent(@NotNull SliceNode element) {
      AbstractTreeNode<?> parent = element.getParent();
      return parent instanceof SliceNode ? (SliceNode)parent : null;
    }
@Override
    public SliceNode getParent(@NotNull SliceNode element)