}
if (matches == 0) {
getLogger().debug(getBundle().getString("configuration-key-not-found", key, conventions));
} else if (matches > 1) {
throw new ConfigurationException(getBundle().getString("ambiguous-key", field.getName(),
field.getDeclaringClass()));
}
return key;
}