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
ParameterDescriptor s. |
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, setValue
public MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
Constructs an instance with the given 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(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 © 2013. All Rights Reserved.