public void transform(ClassTransformation transformation,
MutableComponentModel model)
{
for (String fieldName : transformation.findFieldsWithAnnotation(InjectComponent.class))
{
InjectComponent annotation = transformation.getFieldAnnotation(fieldName, InjectComponent.class);
String type = transformation.getFieldType(fieldName);
String resourcesFieldName = transformation.getResourcesFieldName();
String componentId = annotation.value();
if (InternalUtils.isBlank(componentId))
componentId = InternalUtils.stripMemberName(fieldName);
transformation.makeReadOnly(fieldName);