Uses of Class java.beans.MethodDescriptor (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.beans.MethodDescriptor

- Packages that use MethodDescriptor
  Package | Description
  --- | ---
  java.beans | Contains classes related to developing beans -- components based on the JavaBeans™ architecture.

- - ### Uses of MethodDescriptor in java.beans

    Methods in java.beans that return MethodDescriptor
    Modifier and Type | Method and Description
    --- | ---
    `MethodDescriptor[]` | EventSetDescriptor.`getListenerMethodDescriptors()` Gets the `MethodDescriptor`s of the target listener interface.
    `MethodDescriptor[]` | BeanInfo.`getMethodDescriptors()` Returns the method descriptors of the bean that define the externally visible methods supported by this bean.
    `MethodDescriptor[]` | SimpleBeanInfo.`getMethodDescriptors()` Deny knowledge of methods.

    Constructors in java.beans with parameters of type MethodDescriptor
    Constructor and Description
    `EventSetDescriptor(String eventSetName, Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)` Creates an `EventSetDescriptor` from scratch using `java.lang.reflect.MethodDescriptor` and `java.lang.Class` objects.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.