Constant constant = field.getAnnotation(Constant.class);
return constant.value();
}
protected String resolvePropertyNameFromAnnotations(JMethod method) {
ConfiguredProperty configuredProperty = method.getAnnotation(ConfiguredProperty.class);
if (configuredProperty != null) {
return configuredProperty.value();
}
MetaProperty metaProperty = method.getAnnotation(MetaProperty.class);
return metaProperty.value();
}