FileUtils.deleteDirectory(generatedSourceFolder);
} catch (IOException ioe) {
aptUtils.printNote("[Achilles] No previously generated source files found, proceed to code generation");
}
aptUtils.printNote("[Achilles] Generating CQL compatible types (used by the application) as class");
<BUG>for (TypeSpec typeSpec : FunctionParameterTypesCodeGen.buildParameterTypesClasses(aptUtils, udfContext)) {
JavaFile.builder(FUNCTION_PACKAGE, typeSpec)</BUG>
.build().writeTo(aptUtils.filer);
}
aptUtils.printNote("[Achilles] Generating SystemFunctions");

FileUtils.deleteDirectory(generatedSourceFolder);
} catch (IOException ioe) {
aptUtils.printNote("[Achilles] No previously generated source files found, proceed to code generation");
}
aptUtils.printNote("[Achilles] Generating CQL compatible types (used by the application) as class");
for (TypeSpec typeSpec : FunctionParameterTypesCodeGen.buildParameterTypesClasses(udfContext)) {
JavaFile.builder(FUNCTION_PACKAGE, typeSpec)
.build().writeTo(aptUtils.filer);
}
aptUtils.printNote("[Achilles] Generating SystemFunctions");
