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