public class MethodLookupUtils extends Object
| Constructor and Description |
|---|
MethodLookupUtils() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static Constructor lookupConstructor(Class targetClass, Object[] parameters)
targetClass - the class constructedparameters - argumentspublic static Method lookupStaticMethod(Class targetClass, String name, Object[] parameters)
targetClass - the owning classname - method nameparameters - method parametersCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.