private void addWriterMethod(String fieldName, String cachedFieldName, boolean cache, String parameterName,
String fieldType, String resourcesFieldName, ClassTransformation transformation)
{
BodyBuilder builder = new BodyBuilder();
builder.begin();
// Before the component is loaded, updating the property sets the default value
// for the parameter. The value is stored in the field, but will be
// rolled into default field inside containingPageDidLoad().