One of the limitations of generics is type erasure. For example, the following code with FEST-Reflect will not compile:
Instead, we need to perform the following unsafe casting:
Based on Neal Gafter's Super Type Tokens, is it possible to overcome this limitation:
TypeRef can be used to overcome erasure when:
Labels