forked from coekie/gentyref
-
Notifications
You must be signed in to change notification settings - Fork 17
Home
Bojan Tomic edited this page Oct 7, 2016
·
7 revisions
This library allows you to
- Check if two types are supertypes of eachother.
- Get the erasure of a type * Calculate the "exact supertype" of a given class.
For example, for
class X<T> implements List<List<T>> {...}
andclass Y extends X<String>
, the exact supertype for interfaceList
ofY
isList<List<String>>
. - Get the exact return type or parameter types of methods and types of fields (taking type parameters into account).
- Apply capture conversion
With full support for wildcards, array types, raw types and captured types.