ensureResolved
FirClassSubstitutionScope
`createNewTypeParametersAndSubstitutor` call might need resolved types to be able to work correctly with the generics' type bounds