public class MethodWrap extends Object implements InvokeChain
| 限定符 | 构造器和说明 |
|---|---|
protected |
MethodWrap(Method m) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
doInvoke(Object obj,
Object[] args)
执行
|
static MethodWrap |
get(Method method) |
Annotation[] |
getAnnotations() |
Method |
getMethod()
获取函数本身
|
String |
getName()
获取函数名
|
Parameter[] |
getParameters()
获取函数参数
|
Class<?> |
getReturnType()
获取函数反回类型
|
Object |
invokeByAspect(Object obj,
Object[] args)
执行,并尝试切面
|
protected MethodWrap(Method m)
public static MethodWrap get(Method method)
public String getName()
public Method getMethod()
public Class<?> getReturnType()
public Parameter[] getParameters()
public Annotation[] getAnnotations()
public Object doInvoke(Object obj, Object[] args) throws Exception
doInvoke 在接口中 InvokeChainExceptionCopyright © 2020. All rights reserved.