public class MethodInfo extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Class<?> |
clazz |
protected boolean |
isVarArgs |
protected String |
key |
protected Method |
method |
protected Class<?>[] |
paraTypes |
| 构造器和说明 |
|---|
MethodInfo(String key,
Class<?> clazz,
Method method) |
protected final String key
protected final Class<?> clazz
protected final Method method
protected final boolean isVarArgs
protected final Class<?>[] paraTypes
public Object invoke(Object target, Object... args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
protected Object invokeVarArgsMethod(Object target, Object[] argValues) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public String getKey()
public String getName()
public boolean isStatic()
public boolean isVarArgs()
protected Class<?>[] getParameterTypes()
Copyright © 2017. All rights reserved.