private void simulateUpdates(List<File> files, List<ClassFileIndex> indexes) { int filesChanges = 0; for (ClassFileIndex each : indexes) { Set<JavaClass> classes = each.findClasses(files.subList(0, filesChanges++ % 10)); each.findChangedParents(classes); print("."); } }
private ClassFileIndex simulateNewProject() { ClassFileIndex index = new ClassFileIndex(fakeClasspath()); index.findClasses(files); return index; }