public class ReflectionMethodDescriptor extends Object implements MethodDescriptor
MethodDescriptor.RpcType| Modifier and Type | Field and Description |
|---|---|
String |
methodName |
| Constructor and Description |
|---|
ReflectionMethodDescriptor(Method method) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface MethodDescriptorpublic Method getMethod()
MethodDescriptorgetMethod in interface MethodDescriptorpublic String[] getCompatibleParamSignatures()
MethodDescriptorgetCompatibleParamSignatures in interface MethodDescriptorpublic Class<?>[] getParameterClasses()
getParameterClasses in interface MethodDescriptorpublic String getParamDesc()
getParamDesc in interface MethodDescriptorpublic Class<?> getReturnClass()
getReturnClass in interface MethodDescriptorpublic Type[] getReturnTypes()
getReturnTypes in interface MethodDescriptorpublic MethodDescriptor.RpcType getRpcType()
getRpcType in interface MethodDescriptorpublic boolean isGeneric()
isGeneric in interface MethodDescriptorpublic void addAttribute(String key, Object value)
addAttribute in interface MethodDescriptorpublic Object getAttribute(String key)
getAttribute in interface MethodDescriptorCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.