No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)If the display is too slow, you can disable the user mode to view the cached version.
- java.lang.Object
-
- java.beans.FeatureDescriptor
-
- java.beans.MethodDescriptor
-
public class MethodDescriptor extends FeatureDescriptor
A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components.
-
-
Constructor Summary
Constructors Constructor and Description MethodDescriptor(Method method)
Constructs aMethodDescriptor
from aMethod
.MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
Constructs aMethodDescriptor
from aMethod
providing descriptive information for each of the method's parameters.
-
Method Summary
Methods Modifier and Type Method and Description Method
getMethod()
Gets the method that this MethodDescriptor encapsualtes.ParameterDescriptor[]
getParameterDescriptors()
Gets the ParameterDescriptor for each of this MethodDescriptor's method's parameters.-
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
-
-
-
-
Constructor Detail
-
MethodDescriptor
public MethodDescriptor(Method method)
Constructs aMethodDescriptor
from aMethod
.- Parameters:
method
- The low-level method information.
-
MethodDescriptor
public MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
Constructs aMethodDescriptor
from aMethod
providing 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 Detail
-
getMethod
public Method getMethod()
Gets the method that this MethodDescriptor encapsualtes.- Returns:
- The low-level description of the method
-
getParameterDescriptors
public ParameterDescriptor[] getParameterDescriptors()
Gets 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.
-
-
Can not display this page of the Infobrol website
Type of error (18-01)
Unknown format specifier "&"Please try again in a few minutes…
Steph