public void AddSetProperty(String name, MethodDetail detail) {
Property property = properties.get(name);
if(property == null) {
property = new Property();
properties.put(name, property);
}
if(property.Set() != null) {
throw new IllegalStateException("The property '"+name+"' is defined twice in "+details.FullyQualifiedName);
}
if(detail == null) {
throw new IllegalStateException("Can not set a null property");
}
property.AddSetMethod(detail);
}
public void AddGetProperty(String name, MethodDetail detail) {