SliceNode (@NotNull SliceNode element) { AbstractTreeNode<?> parent = element.getParent(); if (parent == null) return null; return element.getNext((List<? extends AbstractTreeNode<?>>)parent.getChildren()); }