protected String findAttributeDescription(Field field) {
String desc = null;
if (field.isAnnotationPresent(ConfigurationDoc.class)) {
desc = field.getAnnotation(ConfigurationDoc.class).desc();
} else if (field.isAnnotationPresent(ConfigurationDocRef.class)) {
ConfigurationDocRef docRef = field.getAnnotation(ConfigurationDocRef.class);
Doc fieldDocRec = findDocElement(docRef.bean(), docRef.targetElement());
desc = fieldDocRec.commentText();
}
return desc;
}