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