.getClassName(), fieldName), 0);
MutableEmbeddedComponentModel embedded = model.addEmbeddedComponent(id, annotation
.type(), type, annotation.inheritInformalParameters(), location);
addParameters(embedded, annotation.parameters());
transformation.makeReadOnly(fieldName);
String body = String.format("%s = (%s) %s.getEmbeddedComponent(\"%s\");", fieldName, type,
transformation.getResourcesFieldName(), id);