public class MethodDescriptor extends FeatureDescriptor
| Constructor and Description |
|---|
MethodDescriptor(java.lang.reflect.Method method)
Constructs an instance with the given
Method. |
MethodDescriptor(java.lang.reflect.Method method,
ParameterDescriptor[] parameterDescriptors)
Constructs an instance with the given
Method and
ParameterDescriptors. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
getMethod()
Gets the method.
|
ParameterDescriptor[] |
getParameterDescriptors()
Gets the parameter descriptors.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValuepublic MethodDescriptor(java.lang.reflect.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.
method - The Method to set.parameterDescriptors - An array of parameter descriptors.public MethodDescriptor(java.lang.reflect.Method method)
Constructs an instance with the given Method. The
FeatureDescriptor.getName() is set as the name of the method
passed.
method - The Method to set.public java.lang.reflect.Method getMethod()
Gets the method.
Method instance.public ParameterDescriptor[] getParameterDescriptors()
Gets the parameter descriptors.
ParameterDescriptor instance or
null.