Field[] fields = clazz.getDeclaredFields();
// Put the Fields in a Map first for a prettier print
Map<String, Field> map = new HashMap<String, Field>();
URIField anno = null;
for (final Field field : fields) {
anno = field.getAnnotation(URIField.class);
String key = anno == null ? field.getName()
: (EndpointConfiguration.URI_QUERY.equals(anno.parameter()) ? anno.parameter() : anno.component());
map.put(key, field);
}
// Log standard URI components and remove them from the map
logConfigurationField(config, map, EndpointConfiguration.URI_SCHEME, true);