public class MethodDescriptor extends FeatureDescriptor
Constructor | Description |
---|---|
MethodDescriptor |
Constructs a MethodDescriptor from a Method . |
MethodDescriptor |
Constructs a MethodDescriptor from a Method providing descriptive information for each of the method's parameters. |
Modifier and Type | Method | Description |
---|---|---|
Method |
getMethod() |
Gets the method that this MethodDescriptor encapsulates. |
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()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/beans/MethodDescriptor.html