Monday, March 5, 2012

Deriving class from generic

A blog post note about

Type t;
t = ( (ParameterizedType) getClass().getGenericSuperclass()).getActualTypeArguments()[0];

No comments: