Closed kaqqao closed 5 years ago
Provide a way to fully or partially resolve a type in the context of another. E.g. given:
class A<T> { Set<T> get(); } class B extends A<String> {}
there should be a way to resolve Set<T> in the context of B (without having a reference to the get method itself).
Set<T>
B
get
This aims to solve the issue outlined in #5
The relevant methods are GenericTypeReflector.resolveExactType (which throws an exception if an unresolvable variable is encountered) and GenericTypeReflector.resolveType (which allows partial resolution).
GenericTypeReflector.resolveExactType
GenericTypeReflector.resolveType
Provide a way to fully or partially resolve a type in the context of another. E.g. given:
there should be a way to resolve
Set<T>
in the context ofB
(without having a reference to theget
method itself).This aims to solve the issue outlined in #5