Implementation in gson deserialization to able deserialize generics parameters

The GsonDeserialization not is able to deserialize generics parameters like this:

class GenericCtrl<T> {
       void method(T type)
}
class ExtendedCtrl extends GenericCtrl<Type>{
}

So, I create a strategy with annotation for this:

@ConsumesTypes({Type.class})
class ExtendedCtrl extends GenericCtrl<Type>{
}