InjectableType.ExtensionProvided);
final FactoryBodyGenerator generator = new AbstractBodyGenerator() {
@Override
protected List<Statement> generateCreateInstanceStatements(final ClassStructureBuilder<?> bodyBlockBuilder,
final Injectable injectable, final DependencyGraph graph, final InjectionContext injectionContext) {
<BUG>final List<Statement> stmts = new ArrayList<Statement>();
final String elementVar = "element";</BUG>
stmts.add(declareFinalVariable(elementVar, com.google.gwt.dom.client.Element.class,
invokeStatic(Document.class, "get").invoke("createElement", loadLiteral(tagName))));
for (final Property property : properties) {

InjectableType.ExtensionProvided);
final FactoryBodyGenerator generator = new AbstractBodyGenerator() {
@Override
protected List<Statement> generateCreateInstanceStatements(final ClassStructureBuilder<?> bodyBlockBuilder,
final Injectable injectable, final DependencyGraph graph, final InjectionContext injectionContext) {
final List<Statement> stmts = new ArrayList<>();
final String elementVar = "element";
stmts.add(declareFinalVariable(elementVar, com.google.gwt.dom.client.Element.class,
invokeStatic(Document.class, "get").invoke("createElement", loadLiteral(tagName))));
for (final Property property : properties) {
