Behavior.ConstructorImpl, Behavior.MethodImpl| 构造器和说明 |
|---|
MethodImpl(Method target) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Class<?> |
getDeclaringClass() |
Class<?>[] |
getExceptionTypes() |
int |
getModifiers() |
String |
getName() |
Class<?>[] |
getParameterTypes() |
Class<?> |
getReturnType() |
int |
hashCode() |
Object |
invoke(Object obj,
Object... args) |
boolean |
isAccessible() |
void |
setAccessible(boolean accessFlag) |
public MethodImpl(Method target)
public Object invoke(Object obj, Object... args) throws IllegalAccessException, InvocationTargetException, InstantiationException
public boolean isAccessible()
isAccessible 在接口中 Behaviorpublic void setAccessible(boolean accessFlag)
setAccessible 在接口中 Behaviorpublic Class<?>[] getParameterTypes()
getParameterTypes 在接口中 Behaviorpublic Annotation[] getAnnotations()
getAnnotations 在接口中 Behaviorpublic int getModifiers()
getModifiers 在接口中 Behaviorpublic Class<?> getDeclaringClass()
getDeclaringClass 在接口中 Behaviorpublic Class<?> getReturnType()
getReturnType 在接口中 Behaviorpublic Class<?>[] getExceptionTypes()
getExceptionTypes 在接口中 Behaviorpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations 在接口中 BehaviorCopyright © 2018 Alibaba Open Source. All rights reserved.