void (@NotNull Element root, List<PathElement[]> list, @NotNull String name) { list.clear(); for (Element element : root.getChildren(name)) { for (Element child : element.getChildren(PATH_TAG)) { PathElement[] path = XmlSerializer.deserialize(child, PathElement[].class); list.add(path); } } }