// with the translation service.
for (String resource : resources) {
// Generate this component's ClientBundle resource interface
BuildMetaClass messageBundleResourceInterface = generateMessageBundleResourceInterface(resource);
// Add it as an inner class to the generated translation service
classBuilder.getClassDefinition().addInnerClass(new InnerClass(messageBundleResourceInterface));
// Instantiate the ClientBundle MessageBundle resource
final String msgBundleVarName = InjectUtil.getUniqueVarName();
ctor.append(Stmt.declareVariable(messageBundleResourceInterface).named(msgBundleVarName)
.initializeWith(Stmt.invokeStatic(GWT.class, "create", messageBundleResourceInterface)));