| Modifier and Type | Method and Description |
|---|---|
static MethodInvoker |
getInstance(Object constValue)
获取一个常量
MethodInvoker |
static MethodInvoker |
getInstance(Object obj,
Object[] args,
Method method)
获取一个普通的
MethodInvoker |
Object |
invoke()
执行方法
|
public static MethodInvoker getInstance(Object obj, Object[] args, Method method)
MethodInvokerobj - 实例args - 参数列表method - 方法实例MethodInvokerpublic static MethodInvoker getInstance(Object constValue)
MethodInvokerconstValue - 常量值MethodInvokerpublic Object invoke() throws InvocationTargetException, IllegalAccessException
invoke in interface InvokerInvocationTargetExceptionIllegalAccessExceptionCopyright © 2024. All rights reserved.