Uses of Class java.lang.reflect.Method

Uses in package gnu.javax.management

Methods with parameter type java.lang.reflect.Method

Object[]
Translator.fromJava(Object[] jtypes, Method method)
Translates the input Java data types to the equivalent open data types.
Object
Translator.toJava(Object otype, Method method)
Translates the returned open data type to the value required by the interface.

Uses in package gnu.classpath.jdwp.util

Methods with parameter type java.lang.reflect.Method

String
Computes the method signature, i.e., java.lang.String.split (String, int) returns "(Ljava/lang/String;I)[Ljava/lang/String;"

Uses in package gnu.java.rmi.server

Methods with parameter type java.lang.reflect.Method

long
Object
UnicastRef.invoke(Remote obj, Method method, Object[] params, long opnum)
Object
UnicastRef.invokeCommon(UnicastConnection conn, Remote obj, Method method, Object[] params, int opnum, long hash)
Invoke the remote method on the given object when connection is already established.
Object
ActivatableRef.invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash)
Invoke the remote method on the given object and try to activate the object if it is not reacheable with the current manager.
Object
UnicastRef.invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash)
Invoke the remote method on the given object.

Uses in package java.beans

Constructors with parameter type java.lang.reflect.Method

EventSetDescriptor.EventSetDescriptor(String eventSetName, Class listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
Creates a new EventSetDescriptor.
EventSetDescriptor.EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)
Creates a new EventSetDescriptor.
EventSetDescriptor.EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)
Creates a new EventSetDescriptor.

This variant of the constructor allows you to specify the names of the methods and adds no new constraints on top of the rules already described at the top of the class.

IndexedPropertyDescriptor.IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex)
Create a new PropertyDescriptor using explicit Methods.
Create a new MethodDescriptor.
Create a new MethodDescriptor.
PropertyDescriptor.PropertyDescriptor(String name, Method readMethod, Method writeMethod)
Create a new PropertyDescriptor using explicit Methods.

Methods with parameter type java.lang.reflect.Method

Object
EventHandler.invoke(Object proxy, Method method, Object[] arguments)
Invokes the EventHandler.
void
Sets the method that is used to read an indexed property.
void
Sets the method that is used to write an indexed property.
void
Sets the read method.
The read method is used to retrieve the value of a property.
void
Sets the write method.
The write method is used to set the value of a property.

Methods with return type java.lang.reflect.Method

Method
Returns the add listener method.
Method
Returns the method that retrieves the listeners or null if it does not exist.
Method
Method
Method[]
Returns the event firing methods.
Method
Get the method this MethodDescriptor represents.
Method
Get the get method.
Method
Method
Get the set method.

Uses in package javax.management.openmbean

Methods with parameter type java.lang.reflect.Method

Object
Called by the proxy class whenever a method is called.

Uses in package java.lang.reflect

Methods with parameter type java.lang.reflect.Method

Object
InvocationHandler.invoke(Object proxy, Method method, Object[] args)
When a method is invoked on a proxy instance, it is wrapped and this method is called instead, so that you may decide at runtime how the original method should behave.

Uses in package gnu.java.lang.reflect

Constructors with parameter type java.lang.reflect.Method

Methods with parameter type java.lang.reflect.Method

String
Returns a String representing the type-encoding of a method.

Uses in package gnu.java.beans

Methods with parameter type java.lang.reflect.Method

void
Examines the given method and files it in a suitable collection.
void

Uses in package java.lang

Methods with return type java.lang.reflect.Method

Method
Class<T>._getMethod(String methodName, Class<T>[] args)
Method
Class<T>.getDeclaredMethod(String methodName, Class... args)
Get a method declared in this class, where name is its simple name.
Method[]
Get all the declared methods in this class, but not those inherited from superclasses.
Method
Returns the method which immediately encloses this class.
Method
Class<T>.getMethod(String methodName, Class... args)
Get a public method declared or inherited in this class, where name is its simple name.
Method[]
Get all the public methods declared in this class or inherited from superclasses.

Uses in package javax.management

Constructors with parameter type java.lang.reflect.Method

Constructs a new MBeanAttributeInfo using the specified name and description, with the given accessor and mutator methods.
Constructs a @link{MBeanOperationInfo} with the specified description using the given method.

Methods with parameter type java.lang.reflect.Method

Object
Called by the proxy class whenever a method is called.

Uses in package java.rmi.server

Methods with parameter type java.lang.reflect.Method

Object
RemoteObjectInvocationHandler.invoke(Object proxyInstance, Method method, Object[] parameters)
Invoke the remote method.
Object
RemoteRef.invoke(Remote obj, Method method, Object[] params, long methodHash)
Invoke a method.

Uses in package java.lang.annotation

Constructors with parameter type java.lang.reflect.Method

Constructs an AnnotationTypeMismatchException which is due to a mismatched type in the annotation element, m.

Methods with return type java.lang.reflect.Method

Method
Returns the element from the annotation, for which a mismatch occurred.

Uses in package gnu.java.lang

Methods with return type java.lang.reflect.Method

Method[]
Get all the methods, public, private and otherwise, from the class, getting them from the most recent class to find them.