void (@NotNull JavaArrangementParseInfo info, @NotNull ArrangementSettingsToken orderType) { if (DEPTH_FIRST.equals(orderType)) { for (ArrangementEntryDependencyInfo rootInfo : info.getMethodDependencyRoots()) { setupDepthFirstDependency(rootInfo); } } else if (BREADTH_FIRST.equals(orderType)) { for (ArrangementEntryDependencyInfo rootInfo : info.getMethodDependencyRoots()) { setupBreadthFirstDependency(rootInfo); } } else { assert false : orderType; } }