How to find out if a field is instanceof a type via reflection?

后端 未结 4 1167
不知归路
不知归路 2020-12-24 04:32

I want to find out via reflection if a field is an instance of some type T.

Lets say I have an object o. Now I want to know if it has any

4条回答
提交回复
热议问题