final Map<String, Clazz> clazzMap = findInterruptableMethods(compileTargetDir);
final Map<String, ClassInfo> clazzInfoMap = new HashMap<String, ClassInfo>();
instrumentWorkflows(adaptedTargetDir, clazzMap, clazzInfoMap, compileTargetDir);
for (Clazz clazz : clazzMap.values()) {
File f = sourceFiles.get(clazz.classname+".java");
ClassInfo info = clazzInfoMap.get(clazz.classname);
if (info != null) {
if (f != null) {
info.setSourceCode(readFully(f));
}
ClassInfo superClassInfo = clazzInfoMap.get(clazz.superClassname);
info.setSuperClassInfo(superClassInfo);
}
}
final ClassLoader cl = createClassLoader(map, adaptedTargetDir, loadNonWorkflowClasses ? compileTargetDir : adaptedTargetDir, clazzMap);
checkConstraints(map);