fillTypeUniverse
public static void fillTypeUniverse(Type instantiation, Class<? extends Object> context, Map<TypeVariable<? extends Object>, Type> universe)(source)
Construct a universe of type variable assignments from a given type instantiation. Nota bene: this only returns individual assignments, which need to be resolved to concrete types using resolveSimpleTypeVariableInUniverse.
Parameters
instantiation
a generic type instantiation that is ideally fully specified
context
the raw type of the instantiation, is used to know which generic type is being instantiated by the parameterization
universe
an out param (i know -- bad form -- however this makes it easier to collect all the type assignments across multiple inheritance paths)