getEnhancedClass().createProperty(propertyName, ps.getType(), readMethodName, false);
}
protected void addAutoParameterEnhancer(String parameterName, IParameterSpecification ps)
{
ILocation location = ps.getLocation();
String propertyName = ps.getPropertyName();
if (!ps.isRequired() && ps.getDefaultValue() == null)
throw new ApplicationRuntimeException(
Tapestry.format("ComponentClassFactory.auto-must-be-required", parameterName),