Check.  I can move more in, especially now that its more of a set of
constants.

Regards,
Christian
Sent from my iPhone.

On Jan 13, 2013, at 17:34, Jesse Wilson <notifications@github.com> wrote:

In compiler/src/main/java/dagger/internal/codegen/InjectProcessor.java:

> @@ -327,38 +386,51 @@ private void writeStaticInjection(TypeElement type, List<Element> fields) throws
>          .createSourceFile(adapterName, type);
>      JavaWriter writer = new JavaWriter(sourceFile.openWriter());
>
> -    writer.addPackage(CodeGen.getPackage(type).getQualifiedName().toString());
> -    writer.addImport(StaticInjection.class);
> -    writer.addImport(Binding.class);
> -    writer.addImport(Linker.class);
> +    writer.emitEndOfLineComment("Code generated by dagger-compiler.");

Sorry, I guess I was thinking of your Javadoc utils class being more like a
"Documentation" class. In this case, the string "Code generated by
dagger-compiler" is duplicated. And since it's duplicated, we could easily
accidentally forget to add something like, "Do not edit" each time this
string occurs.

—
Reply to this email directly or view it on
GitHub<https://github.com/square/dagger/pull/133/files#r2630054>.