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