train_getBaseResource(model, r);
train_addInjectedField(ct, Resource.class, "baseResource", r, "res");
train_getResourcesFieldName(ct, "resources");
ct.makeReadOnly("_fred");
ct.claimField("_fred", annotation);
train_extendMethod(
ct,
TransformConstants.CONTAINING_PAGE_DID_LOAD_SIGNATURE,