in src/main/java/org/apache/sling/caconfig/management/impl/ConfigurationDataImpl.java [237:268]
public ValueInfo<?> getValueInfo(String propertyName) {
PropertyMetadata<?> propertyMetadata = getPropertyMetadata(propertyName);
Object value;
Object effectiveValue;
if (propertyMetadata != null) {
Class<?> type = propertyMetadata.getType();
if (type == ConfigurationMetadata.class) {
type = ConfigurationData.class;
} else if (type == ConfigurationMetadata[].class) {
type = ConfigurationData[].class;
} else {
type = primitiveToWrapper(type);
}
value = getValues().get(propertyName, type);
effectiveValue = getEffectiveValues().get(propertyName, type);
} else {
value = getValues().get(propertyName);
effectiveValue = getEffectiveValues().get(propertyName);
}
return new ValueInfoImpl(
propertyName,
value,
effectiveValue,
propertyMetadata,
resolvedConfigurationResource,
writebackConfigurationResource,
configurationResourceInheritanceChain,
contextResource,
configName,
configurationOverrideMultiplexer,
isAllOverridden);
}