Functions
Link copied to clipboard
Link copied to clipboard
obtain a list of type variable assignments from a generic type instantiation.
Link copied to clipboard
Link copied to clipboard
public static void fillTypeUniverse(Type instantiation, Class<? extends Object> context, Map<TypeVariable<? extends Object>, Type> universe)
Construct a universe of type variable assignments from a given type instantiation.
Link copied to clipboard
public static ParameterizedType instantiateParameterizedType(Class<? extends Object> rawType, Array<Type> typeArguments)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static Optional<Type> resolveSimpleTypeVariableInUniverse(Map<TypeVariable<? extends Object>, Type> universe, TypeVariable<? extends Object> query)
Given a universe of assignments for type-variables, resolve type-variables to a concrete non-generic type (at the top level).