Package Summary  Overview Summary

class:MethodDescriptor [NONE]


  • public class MethodDescriptor
    extends FeatureDescriptor
    
    A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components.
    Since:
    1.1

constructor:<init>(java.lang.reflect.Method) [NONE]

  • MethodDescriptor

    public MethodDescriptor​(Method method)
    Constructs a MethodDescriptor from a Method.
    Parameters:
    method - The low-level method information.

constructor:<init>(java.lang.reflect.Method,java.beans.ParameterDescriptor[]) [NONE]

  • MethodDescriptor

    public MethodDescriptor​(Method method,
                            ParameterDescriptor[] parameterDescriptors)
    Constructs a MethodDescriptor from a Method 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:getMethod() [NONE]

  • getMethod

    public Method getMethod()
    Gets the method that this MethodDescriptor encapsulates.
    Returns:
    The low-level description of the method

method:getParameterDescriptors() [NONE]

  • 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.

© 2019 Oracle Corporation and/or its affiliates