Use a Class for a generic type? - Java Community | Help. Code. Learn.