public class ProxyReflectedMethod extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAccessFlags() |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Class<?> |
getDeclaringClass() |
Object |
getDefaultValue() |
Class<?>[] |
getExceptionTypes() |
Type[] |
getGenericExceptionTypes() |
Type[] |
getGenericParameterTypes() |
Type |
getGenericReturnType() |
Method |
getMethod() |
int |
getModifiers() |
String |
getName() |
Annotation[][] |
getParameterAnnotations() |
Class<?>[] |
getParameterTypes() |
Class<?> |
getReturnType() |
TypeVariable<Method>[] |
getTypeParameters() |
Object |
invoke(Object obj,
Object... args) |
boolean |
isAccessible() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
isBridge() |
boolean |
isSynthetic() |
boolean |
isVarArgs() |
void |
setAccessFlags(int accessFlags) |
static void |
setAccessible(AccessibleObject[] array,
boolean flag) |
void |
setAccessible(boolean flag) |
String |
toGenericString() |
public int getAccessFlags()
public void setAccessFlags(int accessFlags)
public Method getMethod()
public Class<?> getDeclaringClass()
public String getName()
public int getModifiers()
public TypeVariable<Method>[] getTypeParameters()
public Class<?> getReturnType()
public Type getGenericReturnType()
public Class<?>[] getParameterTypes()
public Type[] getGenericParameterTypes()
public Class<?>[] getExceptionTypes()
public Type[] getGenericExceptionTypes()
public String toGenericString()
public Object invoke(Object obj, Object... args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public boolean isBridge()
public boolean isVarArgs()
public boolean isSynthetic()
public Object getDefaultValue()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public Annotation[] getDeclaredAnnotations()
public Annotation[][] getParameterAnnotations()
public static void setAccessible(AccessibleObject[] array, boolean flag) throws SecurityException
public void setAccessible(boolean flag)
throws SecurityException
public boolean isAccessible()
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
public Annotation[] getAnnotations()
Copyright © 2021. All rights reserved.