samedi 9 septembre 2017

Java Reflection Library not able return the type of class in list,set

When we want to know the type of the field using reflection we have methods like

    1) getType() method of java.lang.reflect.Field already gives you the type
    2) Class clazz = field.getDeclaringClass()

But how do we get the type of field like this :- List<Type> field; field.

Many Thanks.





Aucun commentaire:

Enregistrer un commentaire