Hi is there any way in Java to get staticly generic class type
I have ended up with construct
List l = new ArrayList&
You can get the class for List, which would be Class c = List.class. Unfortunately in Java information about generics isn't retained in runtime so after compilation your List will become simply List.
Class c = List.class
List