ConfigValue configValue = config.root().get(label);
if (configValue.valueType() != ConfigValueType.STRING) {
throw new ConfigException.WrongType(configValue.origin(), label,
"STRING", configValue.valueType().toString());
}
String className = (String) configValue.unwrapped();
try {
Class<?> foundClass = findAndValidateClass(className);
mutableMap.put(label, foundClass);
} catch (ClassNotFoundException maybeSwallowed) {
if (errorMissing) {