|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jxpath.util.MethodLookupUtils
public class MethodLookupUtils
Method lookup utilities, which find static and non-static methods as well as constructors based on a name and list of parameters.
| Constructor Summary | |
|---|---|
MethodLookupUtils()
|
|
| Method Summary | |
|---|---|
static Constructor |
lookupConstructor(Class targetClass,
Object[] parameters)
Look up a constructor. |
static Method |
lookupMethod(Class targetClass,
String name,
Object[] parameters)
Look up a method. |
static Method |
lookupStaticMethod(Class targetClass,
String name,
Object[] parameters)
Look up a static method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodLookupUtils()
| Method Detail |
|---|
public static Constructor lookupConstructor(Class targetClass,
Object[] parameters)
targetClass - the class constructedparameters - arguments
public static Method lookupStaticMethod(Class targetClass,
String name,
Object[] parameters)
targetClass - the owning classname - method nameparameters - method parameters
public static Method lookupMethod(Class targetClass,
String name,
Object[] parameters)
targetClass - owning classname - method nameparameters - method parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||