if (annotations != null) {
for (Property property : annotations.value()) {
addProperty(property, defaultCategory);
}
}
Property annotation = AnnotationUtils.getAnnotation(component, Property.class);
if (annotation != null) {
addProperty(annotation, defaultCategory);
}
return this;
}