public class ReflectionMethodDescriptor extends Object implements MethodDescriptor
MethodDescriptor.RpcType| 限定符和类型 | 字段和说明 |
|---|---|
String |
methodName |
| 构造器和说明 |
|---|
ReflectionMethodDescriptor(Method method) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAttribute(String key,
Object value) |
boolean |
equals(Object o) |
Object |
getAttribute(String key) |
String[] |
getCompatibleParamSignatures()
duplicate filed as paramDesc, but with different format.
|
Method |
getMethod()
Only available for ReflectionMethod
|
String |
getMethodName() |
String |
getParamDesc() |
Class<?>[] |
getParameterClasses() |
Class<?> |
getReturnClass() |
Type[] |
getReturnTypes() |
MethodDescriptor.RpcType |
getRpcType() |
int |
hashCode() |
boolean |
isGeneric() |
public final String methodName
public ReflectionMethodDescriptor(Method method)
public String getMethodName()
getMethodName 在接口中 MethodDescriptorpublic Method getMethod()
MethodDescriptorgetMethod 在接口中 MethodDescriptorpublic String[] getCompatibleParamSignatures()
MethodDescriptorgetCompatibleParamSignatures 在接口中 MethodDescriptorpublic Class<?>[] getParameterClasses()
getParameterClasses 在接口中 MethodDescriptorpublic String getParamDesc()
getParamDesc 在接口中 MethodDescriptorpublic Class<?> getReturnClass()
getReturnClass 在接口中 MethodDescriptorpublic Type[] getReturnTypes()
getReturnTypes 在接口中 MethodDescriptorpublic MethodDescriptor.RpcType getRpcType()
getRpcType 在接口中 MethodDescriptorpublic boolean isGeneric()
isGeneric 在接口中 MethodDescriptorpublic void addAttribute(String key, Object value)
addAttribute 在接口中 MethodDescriptorpublic Object getAttribute(String key)
getAttribute 在接口中 MethodDescriptorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.