String path = payloadSrcPath + "/" + className;
Logger.trace("Writing generated class/interface to: " + path);
if (rejectDuplicates) {
File f = new File(path);
if(f.exists()) {
throw new ConfigurationException("There appears to be a duplicate class name - duplicate file: " + path);
}
}
FileWriter.writeFile(path, classes[n].getBytes());
// Add this to the class info list