Java - What is erasure – what 4 restrictions does erasure place on generics?
Maybe looking at What is the concept of erasure in generics in Java? Will help.