void (@NotNull XValueChildrenList children, boolean last) { for (XValueGroup group : children.getTopGroups()) { this.children.addTopGroup(group); } for (int i = 0; i < children.size(); i++) { this.children.add(children.getName(i), children.getValue(i)); } for (XValueGroup group : children.getBottomGroups()) { this.children.addBottomGroup(group); } if (last) { result.setResult(this.children); } }