in src/main/java/org/apache/sling/superimposing/impl/SuperimposingResource.java [71:78]
public <AdapterType> AdapterType adaptTo(Class<AdapterType> type) {
AdapterType adapted = super.adaptTo(type);
if (null == adapted) {
// fallback to adapt from mapped resource (although this may lead sometimes to unexpected results e.g. original JCR node)
adapted = resource.adaptTo(type);
}
return adapted;
}