I have a class called NewsDAO that extends the abstract class AbstractDAO and pass it the class News as paramether.
public class NewsDAO extends AbstractDAO<News> {
}
What I need is a method to know, starting from all classes called ***DAO, the type of class passed as paramether to AbstractDAO.
I struggled with it for a while but I didn't find the way.
Thank you