AssertionVisitor assertionVisitor, ModuleManagerFactory moduleManagerFactory, boolean verbose, boolean statistics,
List<String> moduleFilters, String encoding) {
long start = System.nanoTime();
this.verbose = verbose;
this.statistics = statistics;
this.context = new Context(repositoryManager, vfs);
this.phasedUnits = new PhasedUnits(context, moduleManagerFactory);
this.verifyDependencies = verifyDependencies;
this.assertionVisitor = assertionVisitor;
statsVisitor = new StatisticsVisitor();
phasedUnits.setModuleFilters(moduleFilters);