continue;
}
final byte[] newClass = requestGenerator.createTokenizer(((TypeElement) element).getQualifiedName().toString(), parser.methods(), parser.protocols(), parser.headers());
try {
JavaFileObject file = filer.createClassFile(((TypeElement) element).getQualifiedName() + AbstractParserGenerator.CLASS_NAME_SUFFIX, element);
final OutputStream out = file.openOutputStream();
try {
out.write(newClass);
} finally {
try {
out.close();
} catch (IOException e) {
}
}
} catch (Exception e) {
throw new RuntimeException(e);
}
}
ResponseParserGenerator responseGenerator = new ResponseParserGenerator();
for (Element element : roundEnv.getElementsAnnotatedWith(HttpResponseParserConfig.class)) {
final HttpResponseParserConfig parser = element.getAnnotation(HttpResponseParserConfig.class);
if (parser == null) {
continue;
}
final byte[] newClass = responseGenerator.createTokenizer(((TypeElement) element).getQualifiedName().toString(), new String[0], parser.protocols(), parser.headers());
try {
JavaFileObject file = filer.createClassFile(((TypeElement) element).getQualifiedName() + AbstractParserGenerator.CLASS_NAME_SUFFIX, element);
final OutputStream out = file.openOutputStream();
try {
out.write(newClass);
} finally {
try {
out.close();