if (field.isAnnotationPresent(ManagedProperty.class)) {
// Obtém os métodos GET e SET para esta propriedade
Method getterMethod = getGetterMethod(field);
Method setterMethod = getSetterMethod(field);
if (getterMethod == null && setterMethod == null) {
throw new DemoiselleException(bundle.getString("management-invalid-property-no-getter-setter",
type.getSimpleName(), field.getName()));
} else if ((getterMethod != null && getterMethod.isAnnotationPresent(ManagedOperation.class))
|| (setterMethod != null && setterMethod.isAnnotationPresent(ManagedOperation.class))) {
throw new DemoiselleException(bundle.getString("management-invalid-property-as-operation",
type.getSimpleName()));
}
String propertyDescription = field.getAnnotation(ManagedProperty.class).description();