ConfigValue inlinedValue = root.get(matched);
String primaryField = (String) aliasDefaults.get("_primary").unwrapped();
ConfigObject fieldValues = root.toConfig().withValue(primaryField, inlinedValue).root()
.withoutKey(matched)
.withFallback(aliasDefaults);
return fieldValues.withValue(classField, ConfigValueFactory.fromAnyRef(
matched, "inlined key to type from " + root.origin().description()));
}
// default type
ConfigValue defaultObject = pluginMap.config().root().get("_default");