According to JLS3 15.8.2, the type of p.class, where p is the name of a
primnitive type, is Class<?>. Likewise for void.class.
The compiler gives each of these a type Class<B>, where B is the wrapper type
corresponding to p: Integer for int, Double for double etc.
primnitive type, is Class<?>. Likewise for void.class.
The compiler gives each of these a type Class<B>, where B is the wrapper type
corresponding to p: Integer for int, Double for double etc.