So I want to create a class that in turn instantiates an instance variable as below. My problem is what do I replace Example.class with to make it generic T.class doesn't work and neither does Class.
public class MyClass<T> {
public CurstomClass<T> customClass = new CustomClass<T>(Example.class);
}