if (property == null) {
property = new HashMap<String, Object>();
properties.put(name, property);
}
AttributeReference ar = method.getAnnotation(AttributeReference.class);
if (ar != null) {
property.put("annotations", gatherReferencedAttributes((AttributeReference) ar));
}
Attribute attr = method.getAnnotation(Attribute.class);
if (attr != null) {