Describes a bean's method.
Public Constructor Summary
MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
Constructs an instance with the given |
|
Public Method Summary
Method |
getMethod()
Gets the method. |
ParameterDescriptor[] |
getParameterDescriptors()
Gets the parameter descriptors. |
Inherited Method Summary
Public Constructors
public MethodDescriptor (Method method, ParameterDescriptor[] parameterDescriptors)
Constructs an instance with the given Method
and
ParameterDescriptor
s. The FeatureDescriptor.getName()
is set as the name
of the method
passed.
Parameters
method | The Method to set. |
---|---|
parameterDescriptors | An array of parameter descriptors. |
public MethodDescriptor (Method method)
Constructs an instance with the given Method
. The
FeatureDescriptor.getName()
is set as the name of the method
passed.
Parameters
method | The Method to set. |
---|
Public Methods
public ParameterDescriptor[] getParameterDescriptors ()
Gets the parameter descriptors.
Returns
- An array of
ParameterDescriptor
instance ornull
.