How to know the specific types of generics at run time

how to know the specific type of generics at run time:
for example: List < BaseDTO > list = new ArrayList < BaseDTO > ();
how to know the specific type of T in List at run time.

Jun.10,2021

list.forEach(value -> { System.out.println(value.getClass()) })

I don't know if it's what you want

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e474a3-44c36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e474a3-44c36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?