How to create an object from difinite class using reflection java

后端 未结 0 1286
轻奢々
轻奢々 2020-12-07 16:48

I have this code. The object o comes to me from spring\'s validator. I would like to get rid of the if conditions. How can i implement that.

   if (o instance         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题