java.beans
public class MethodDescriptor extends FeatureDescriptor
Constructor and Description |
---|
MethodDescriptor(Method m)
Create a new MethodDescriptor.
|
MethodDescriptor(Method m,
ParameterDescriptor[] parameterDescriptors)
Create a new MethodDescriptor.
|
Modifier and Type | Method and Description |
---|---|
Method |
getMethod()
Get the method this MethodDescriptor represents.
|
ParameterDescriptor[] |
getParameterDescriptors()
Get the parameter descriptors from this method.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
public MethodDescriptor(Method m)
m
- the method it will represent.public MethodDescriptor(Method m, ParameterDescriptor[] parameterDescriptors)
m
- the method it will represent.parameterDescriptors
- descriptions of the parameters (especially names).public ParameterDescriptor[] getParameterDescriptors()