public class RuntimeMethodInformation extends Object implements MethodInformation
| Constructor and Description |
|---|
RuntimeMethodInformation(Method method) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeclaringClass()
The declaring class name in java dotted form (e.g. java.lang.String)
|
String |
getDescriptor()
Gets the method descriptor
|
Method |
getMethod()
This may return null if Method is not available yet
|
int |
getModifiers()
The method modifiers
|
String |
getName()
the method name
|
String[] |
getParameterTypes()
returns string representations of the parameter types
|
String |
getReturnType()
Gets the method return type, in descriptor format (e.g.
|
public RuntimeMethodInformation(Method method)
public String getDeclaringClass()
MethodInformationgetDeclaringClass in interface MethodInformationpublic Method getMethod()
MethodInformationgetMethod in interface MethodInformationpublic String getDescriptor()
MethodInformationgetDescriptor in interface MethodInformationpublic String[] getParameterTypes()
MethodInformationgetParameterTypes in interface MethodInformationpublic String getReturnType()
MethodInformationgetReturnType in interface MethodInformationpublic String getName()
MethodInformationgetName in interface MethodInformationpublic int getModifiers()
MethodInformationgetModifiers in interface MethodInformationCopyright © 2016. All Rights Reserved.