public static void collectRoots(final Project project, final RootTraversePolicy policy, final PathsList listBuilder) {
traverseOrder(project, policy, new TraverseState(listBuilder));
}
public static PathsList collectRoots(Module module, RootTraversePolicy policy) {
final PathsList listBuilder = new PathsList();
collectRoots(module, policy, listBuilder);
return listBuilder;
}