java 反射赋空值

https://stackoverflow.com/questions/10087989/how-do-i-reflectively-invoke-a-method-with-null-as-argument

method.invoke(object,new Object[]{ null });

posted @ 2017-08-28 16:39  每天一点积累  阅读(625)  评论(0编辑  收藏  举报