public class MethodInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
clazz |
protected boolean |
isVarArgs |
protected Long |
key |
protected Method |
method |
protected Class<?>[] |
paraTypes |
Constructor and Description |
---|
MethodInfo(Long key,
Class<?> clazz,
Method method) |
Modifier and Type | Method and Description |
---|---|
Long |
getKey() |
String |
getName() |
protected Class<?>[] |
getParameterTypes() |
Object |
invoke(Object target,
Object... args) |
protected Object |
invokeVarArgsMethod(Object target,
Object[] argValues) |
boolean |
isStatic() |
boolean |
isVarArgs() |
String |
toString() |
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 IllegalAccessException, IllegalArgumentException, InvocationTargetException
protected Object invokeVarArgsMethod(Object target, Object[] argValues) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public Long getKey()
public String getName()
public boolean isStatic()
public boolean isVarArgs()
protected Class<?>[] getParameterTypes()
Copyright © 2018. All rights reserved.