Class MethodDescriptor
java.lang.Object
java.beans.FeatureDescriptor
java.beans.MethodDescriptor
A MethodDescriptor describes a particular method that a Java Bean
supports for external access from other components.
- Since:
- 1.1
- 
Constructor SummaryConstructorsConstructorDescriptionMethodDescriptor(Method method) Constructs aMethodDescriptorfrom aMethod.MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors) Constructs aMethodDescriptorfrom aMethodproviding descriptive information for each of the method's parameters.
- 
Method SummaryModifier and TypeMethodDescriptionGets the method that this MethodDescriptor encapsulates.Gets the ParameterDescriptor for each of this MethodDescriptor's method's parameters.Methods declared in class FeatureDescriptorattributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
- 
Constructor Details- 
MethodDescriptorConstructs aMethodDescriptorfrom aMethod.- Parameters:
- method- The low-level method information.
 
- 
MethodDescriptorConstructs aMethodDescriptorfrom aMethodproviding descriptive information for each of the method's parameters.- Parameters:
- method- The low-level method information.
- parameterDescriptors- Descriptive information for each of the method's parameters.
 
 
- 
- 
Method Details- 
getMethodGets the method that this MethodDescriptor encapsulates.- Returns:
- The low-level description of the method
 
- 
getParameterDescriptorsGets the ParameterDescriptor for each of this MethodDescriptor's method's parameters.- Returns:
- The locale-independent names of the parameters. May return a null array if the parameter names aren't known.
 
 
-