public class MethodDescriptor extends FeatureDescriptor
Constructor and Description |
---|
MethodDescriptor(Method method)
Constructs a
MethodDescriptor from a
Method . |
MethodDescriptor(Method method,
ParameterDescriptor[] parameterDescriptors)
Constructs a
MethodDescriptor from a
Method providing descriptive information for each
of the method's parameters. |
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.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
public MethodDescriptor(Method method)
MethodDescriptor
from a
Method
.method
- The low-level method information.public MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
MethodDescriptor
from a
Method
providing descriptive information for each
of the method's parameters.method
- The low-level method information.parameterDescriptors
- Descriptive information for each of the
method's parameters.public Method getMethod()
public ParameterDescriptor[] getParameterDescriptors()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.