TestNG.exitWithError("One of -d and --overwrite options is required");
}
File outFile= overwrite ? null : new File((String) params.get(OUT_DIR_OPT));
AnnotationDirectoryConverter convertor= new AnnotationDirectoryConverter(new File(srcPath), outFile);
int result= convertor.convert();
switch(result) {
case -1: {
log("Generation failed. Consult messages.");