Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.reflect.Method

Packages that use Method
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.

Uses of Method in java.beans

Methods in java.beans that return Method
`Method` | `IndexedPropertyDescriptor.getIndexedReadMethod()` Gets the method that should be used to read an indexed property value.
`Method` | `IndexedPropertyDescriptor.getIndexedWriteMethod()` Gets the method that should be used to write an indexed property value.
`Method` | `MethodDescriptor.getMethod()` Gets the method that this MethodDescriptor encapsualtes.
`Method[]` | `EventSetDescriptor.getListenerMethods()` Gets the methods of the target listener interface.
`Method` | `EventSetDescriptor.getAddListenerMethod()` Gets the method used to add event listeners.
`Method` | `EventSetDescriptor.getRemoveListenerMethod()` Gets the method used to remove event listeners.
`Method` | `EventSetDescriptor.getGetListenerMethod()` Gets the method used to access the registered event listeners.
`Method` | `PropertyDescriptor.getReadMethod()` Gets the method that should be used to read the property value.
`Method` | `PropertyDescriptor.getWriteMethod()` Gets the method that should be used to write the property value.

Methods in java.beans with parameters of type Method
`Object` | `EventHandler.invoke(Object proxy, Method method, Object[] arguments)` Extract the appropriate property value from the event and pass it to the action associated with this `EventHandler`.
`void` | `IndexedPropertyDescriptor.setIndexedReadMethod(Method getter)` Sets the method that should be used to read an indexed property value.
`void` | `IndexedPropertyDescriptor.setIndexedWriteMethod(Method setter)` Sets the method that should be used to write an indexed property value.
`void` | `PropertyDescriptor.setReadMethod(Method getter)` Sets the method that should be used to read the property value.
`void` | `PropertyDescriptor.setWriteMethod(Method setter)` Sets the method that should be used to write the property value.

Constructors in java.beans with parameters of type Method
`IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)` This constructor takes the name of a simple property, and Method objects for reading and writing the property.
`IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)` This constructor takes the name of a simple property, and Method objects for reading and writing the property.
`IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)` This constructor takes the name of a simple property, and Method objects for reading and writing the property.
`IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)` This constructor takes the name of a simple property, and Method objects for reading and writing the property.
`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.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)` Creates an `EventSetDescriptor` from scratch using `java.lang.reflect.Method` and `java.lang.Class` objects.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)` Creates an `EventSetDescriptor` from scratch using `java.lang.reflect.Method` and `java.lang.Class` objects.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)` Creates an `EventSetDescriptor` from scratch using `java.lang.reflect.Method` and `java.lang.Class` objects.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)` This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)` This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)` This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
`EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)` This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
`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.
`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.
`PropertyDescriptor(String propertyName, Method getter, Method setter)` This constructor takes the name of a simple property, and Method objects for reading and writing the property.
`PropertyDescriptor(String propertyName, Method getter, Method setter)` This constructor takes the name of a simple property, and Method objects for reading and writing the property.

Uses of Method in java.lang

Methods in java.lang that return Method
`Method[]` | `Class.getMethods()` Returns an array containing `Method` objects reflecting all the public member methods of the class or interface represented by this `Class` object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces.
`Method` | `Class.getMethod(String name, Class[] parameterTypes)` Returns a `Method` object that reflects the specified public member method of the class or interface represented by this `Class` object.
`Method[]` | `Class.getDeclaredMethods()` Returns an array of `Method` objects reflecting all the methods declared by the class or interface represented by this `Class` object.
`Method` | `Class.getDeclaredMethod(String name, Class[] parameterTypes)` Returns a `Method` object that reflects the specified declared method of the class or interface represented by this `Class` object.

Uses of Method in java.lang.reflect

Methods in java.lang.reflect with parameters of type Method
`Object` | `InvocationHandler.invoke(Object proxy, Method method, Object[] args)` Processes a method invocation on a proxy instance and returns the result.

Uses of Method in java.rmi.server

Methods in java.rmi.server with parameters of type Method
`Object` | `RemoteRef.invoke(Remote obj, Method method, Object[] params, long opnum)` Invoke a method.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.