private void visitAllNodes(ProgramNode node) {
		if (!node.isModule()) {
			return;
		}

		visitNode(node);
		int nchild = node.getChildCount();
		for (int i = 0; i < nchild; i++) {
			ProgramNode child = (ProgramNode) node.getChildAt(i);
			visitAllNodes(child);
		}
	}
Visit all nodes in the given node so that all nodes representing
modules are fully populated.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramDnDTree.java