Given a class with a generically typed ancestor, find out what the type arguments were for a particular ancestor.
Given a class with a generically typed ancestor, find out what the type arguments were for a particular ancestor. This is needed if you have deep hierarchies with multiple generic ancestors.
The class whose ancestors we want to look at.
The name of the ancestor class that we are trying to get the type information about.
An optional map type argument values of the intended ancestor. None, if the ancestor was not found.
Used to find generic type information.