String (@NotNull HierarchyTreeStructure treeStructure, @Nullable HierarchyNodeDescriptor descriptor, @Nullable Comparator<? super NodeDescriptor<?>> comparator, int level) { StringBuilder s = new StringBuilder(); dump(treeStructure, descriptor, comparator,level, s); return s.toString(); }