java.beans
Class MethodDescriptor
java.lang.Object
|
+--java.beans.FeatureDescriptor
|
+--java.beans.MethodDescriptor
MethodDescriptor describes information about a JavaBeans method.
It's a fairly straightforward class (at least something in this
package is straightforward!).
Since:Author:MethodDescriptor
public MethodDescriptor(java.lang.reflect.Method m)
Create a new MethodDescriptor.
This method sets the name to the name of the method (Method.getName()).
Parameters:
MethodDescriptor
public MethodDescriptor(java.lang.reflect.Method m, java.beans.ParameterDescriptor parameterDescriptors)
Create a new MethodDescriptor.
This method sets the name to the name of the method (Method.getName()).
Parameters:
getMethod
public Method getMethod()
Get the method this MethodDescriptor represents. *
getParameterDescriptors
public ParameterDescriptor[] getParameterDescriptors()
Get the parameter descriptors from this method.
Since MethodDescriptor has no way of determining what
the parameter names were, this defaults to null.