MethodDescriptor

public class MethodDescriptor extends FeatureDescriptor

Describes a bean's method.

Public Constructor Summary

MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)

Constructs an instance with the given Method and ParameterDescriptors.

MethodDescriptor(Method method)

Constructs an instance with the given Method.

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 ParameterDescriptors. 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 Method getMethod ()

Gets the method.

Returns

public ParameterDescriptor[] getParameterDescriptors ()

Gets the parameter descriptors.

Returns