XCOMMONS-424: ReflectionUtils.resolveType does not work with child type not directly extending the passed type