public class ClassUtil extends Object
| Constructor and Description |
|---|
ClassUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
findMethod(Class<?> clazz,
String name)
Locates and returns the first method in the supplied class whose name is equal to the
specified name.
|
static Method |
getMethod(String name,
Object target,
Map<String,Method> cache)
Locates and returns the first method in the supplied class whose name is equal to the
specified name.
|
static Method |
getMethod(String name,
Object target,
Object[] args)
Looks up the method on the specified object that has a signature that matches the supplied
arguments array.
|
public static Method getMethod(String name, Object target, Map<String,Method> cache)
public static Method getMethod(String name, Object target, Object[] args)
MethodFinderCopyright © 2015. All rights reserved.