* Any field annotated with @ConfigurationVariable will be available for
* replacement when generating property names
*/
Map<String, String> overrides = Maps.newHashMap();
for ( Field variableField : methods.fieldsFor(ConfigurationVariable.class)) {
ConfigurationVariable annot = variableField.getAnnotation(ConfigurationVariable.class);
if (annot != null) {
overrides.put(annot.name(), variableField.get(obj).toString());
}
}
/**
* Map a configuration to any field with @Configuration annotation