MethodDescriptor - JRE Emulation | JRE Emulation
public class

MethodDescriptor

extends FeatureDescriptor
java.lang.Object
   ↳ java.beans.FeatureDescriptor
     ↳ java.beans.MethodDescriptor

Class Overview

Describes a bean's method.

Summary

Public Constructors
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 Methods
Method getMethod()

Gets the method.

ParameterDescriptor[] getParameterDescriptors()

Gets the parameter descriptors.

Inherited Methods
[Expand]
From class java.beans.FeatureDescriptor
From class java.lang.Object

Public Constructors

public MethodDescriptor (Method method, ParameterDescriptor[] parameterDescriptors)

Constructs an instance with the given Method and ParameterDescriptors. The 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 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