in src/main/java/org/apache/sling/hapi/impl/HApiTypeLazyWrapper.java [146:162]
private Map<String, HApiProperty> getAllProperties(HApiType rootType) {
HApiType parent = getParent(rootType);
Map<String, HApiProperty> allProps = new HashMap<String, HApiProperty>();
LOG.debug("parent: {}", parent);
if (null != parent) {
Map<String, HApiProperty> parentProps;
if (parent instanceof HApiTypeLazyWrapper) {
parentProps = ((HApiTypeLazyWrapper) parent).getAllProperties(rootType);
} else {
parentProps = parent.getAllProperties();
}
LOG.debug("parent props: {}", parentProps);
allProps.putAll(parentProps);
}
allProps.putAll(getProperties());
return allProps;
}