progress.increment(1, "Indexing...");
}
int count = 0;
Iterator<IResource> it = parser.iterator();
while (it.hasNext()) {
final IResource resource = it.next();
if (resource.isDirectory()) {
continue;
}
if (resource.getName().endsWith(".class")) {
final String className = resource.getName().substring(0,
resource.getName().lastIndexOf(".class")).replace(
'/', '.');
executor.submit(new Callable<ClassInfo>() {
public ClassInfo call() throws Exception {
return load(resource.getInputStream(), className);
}
});
count++;
}
}