| 程序包 | 说明 |
|---|---|
| top.xiajibagao.crane.core.helper.invoker | |
| top.xiajibagao.crane.core.helper.reflex |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsmReflexMethodInvoker
基于字节码调用的
MethodInvoker实现 |
class |
ParamTypeAutoConvertInvoker
描述一个可以被调用的方法,当方法实际入参与规定的参数类型不一致时,将会自动进行类型转换
|
class |
ReflexMethodInvoker
基于JDK反射调用的
MethodInvoker实现 |
| 限定符和类型 | 方法和说明 |
|---|---|
static MethodInvoker |
AsmReflexUtils.findMethod(Class<?> targetClass,
Method method)
获取指定方法
|
static MethodInvoker |
AsmReflexUtils.findMethod(Class<?> targetClass,
Method method,
boolean enableParamTypeConvert)
获取指定方法
|
Copyright © 2022. All rights reserved.