for (Method method : clazz.getMethods())
{
if (!method.isAnnotationPresent(Property.class))
continue;
Property propertyAnnotation = method.getAnnotation(Property.class);
list.add(new ModelProperty(propertyAnnotation.name()));
}
properties = list.toArray(new IModelProperty[0]);
}