public class PojoMethodInvoker extends Object implements MethodInvoker
| 构造器和说明 |
|---|
PojoMethodInvoker(Method m) |
public PojoMethodInvoker(Method m)
m - 目标调用方法,应该是一个无参数的get方法public Object get(Object obj)
get 在接口中 MethodInvokerobj - 传入的Pojo对象public Class getReturnType()
getReturnType 在接口中 MethodInvokerpublic Method getMethod()
getMethod 在接口中 MethodInvokerpublic void set(Object ins, Object value)
set 在接口中 MethodInvokerCopyright © 2018. All rights reserved.