public void AddGetProperty(String name, MethodDetail detail) {
Property property = properties.get(name);
if(property == null) {
property = new Property();
properties.put(name, property);
}
if(property. != 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.AddGetMethod(detail);
}
}