InjectionTarget injectionTarget = entry.getValue();
Writer writer = null;
try {
IntentBuilder intentBuilder = new IntentBuilder(injectionTarget);
JavaFileObject jfo = filer.createSourceFile(intentBuilder.getFqcn(), typeElement);
<BUG>writer = jfo.openWriter();
writer.write(intentBuilder.brewJava());</BUG>
} catch (IOException e) {
error(typeElement, "Unable to write intent builder for type %s: %s", typeElement,
e.getMessage());

InjectionTarget injectionTarget = entry.getValue();
Writer writer = null;
try {
IntentBuilder intentBuilder = new IntentBuilder(injectionTarget);
JavaFileObject jfo = filer.createSourceFile(intentBuilder.getFqcn(), typeElement);
writer = jfo.openWriter();
System.out.println("Writing file " + intentBuilder.brewJava());
writer.write(intentBuilder.brewJava());
} catch (IOException e) {
error(typeElement, "Unable to write intent builder for type %s: %s", typeElement,
e.getMessage());
