Code generation on a parameterized class generates a compiler warning #409