public class MethodDescriptor extends FeatureDescriptor
| Constructor and Description |
|---|
MethodDescriptor(Method method)
Constructs an instance with the given
Method. |
MethodDescriptor(Method method,
ParameterDescriptor[] parameterDescriptors)
Constructs an instance with the given
Method and
ParameterDescriptors. |
| Modifier and Type | Method and Description |
|---|---|
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(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(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 ParameterDescriptor[] getParameterDescriptors()
Gets the parameter descriptors.
ParameterDescriptor instance or
null.Copyright © 2015. All Rights Reserved.