org.apache.commons.jxpath.util
Class MethodLookupUtils

java.lang.Object
  |
  +--org.apache.commons.jxpath.util.MethodLookupUtils

public class MethodLookupUtils
extends java.lang.Object

Method lookup utilities, which find static and non-static methods as well as constructors based on a name and list of parameters.

Version:
$Revision: 1.4 $ $Date: 2003/03/11 00:59:34 $
Author:
Dmitri Plotnikov

Constructor Summary
MethodLookupUtils()
           
 
Method Summary
static java.lang.reflect.Constructor lookupConstructor(java.lang.Class targetClass, java.lang.Object[] parameters)
           
static java.lang.reflect.Method lookupMethod(java.lang.Class targetClass, java.lang.String name, java.lang.Object[] parameters)
           
static java.lang.reflect.Method lookupStaticMethod(java.lang.Class targetClass, java.lang.String name, java.lang.Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodLookupUtils

public MethodLookupUtils()
Method Detail

lookupConstructor

public static java.lang.reflect.Constructor lookupConstructor(java.lang.Class targetClass,
                                                              java.lang.Object[] parameters)

lookupStaticMethod

public static java.lang.reflect.Method lookupStaticMethod(java.lang.Class targetClass,
                                                          java.lang.String name,
                                                          java.lang.Object[] parameters)

lookupMethod

public static java.lang.reflect.Method lookupMethod(java.lang.Class targetClass,
                                                    java.lang.String name,
                                                    java.lang.Object[] parameters)


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.