|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.util.ClassUtil
public class ClassUtil
Class related utility functions.
| Constructor Summary | |
|---|---|
ClassUtil()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassUtil()
| Method Detail |
|---|
public static Method getMethod(String name,
Object target,
Map<String,Method> cache)
public static Method getMethod(String name,
Object target,
Object[] args)
MethodFinder
public static Method findMethod(Class<?> clazz,
String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||