After type erasure kicks it will remove all type information to get the type information back see this example.
-
In this example person class contains the field List of type string nickNames. after compilation type information will be removed from the List so it will turn into List.
-
To get the type information what it was i.e before type erasure kicks in to know this info please understand the program
For more understanding :-