Generics support for generated fragments

I stumbled over a non-compiling code when annotating with @EFragment a Fragment with a type parameter. This change should make generated fragments use the same type parameters as the original one. Please let me know if there is a better way; it's my first encounter with Code Model and annotation processing.