void (@NotNull List<DirectoryEntry> children, @NotNull NodeLoadState state) { final List<TreeNode> nodes = new ArrayList<>(); for (final DirectoryEntry entry : children) { if (!myModel.isShowFiles() && !entry.isDirectory()) { continue; } nodes.add(new RepositoryTreeNode(myModel, this, entry.getUrl(), entry, state)); } myChildrenLoadState = state; myChildren.clear(); myChildren.addAll(nodes); myModel.reload(this); }