@Spence asked this Previous Question.
So, how\'s that work in Java? Generic types are discarded at runtime in Java, so what happens to static variables of classes
Static members in Java can't have generic type arguments from the class that contains them.
public class Gen { public static T foo; // compiler error }