void (@NotNull AbstractTreeBuilder treeBuilder, @NotNull DefaultMutableTreeNode root, @NotNull List<Object> pathsToExpand, @NotNull List<Object> selectionPaths, boolean storeElementsOnly) { if (!treeBuilder.wasRootNodeInitialized()) return; JTree tree = treeBuilder.getTree(); if (tree != null) { storePaths(tree, root, pathsToExpand, selectionPaths, storeElementsOnly); } }