In Apache Commons BeanUtil, how to get a type inside a list ? for example
class Track {
List<Actor> actorList = new ArrayList<Actor>();
}
System.err.println(PropertyUtils.getPropertyType(trackBean, "actorList"));
// it should give me Actor instead of java.util.List
Thanks.