| java.lang.Object org.cougaar.util.Reflect
Reflect | final public class Reflect (Code) | | Some utilities for java reflection that are more efficient and/or slightly
different functionality then the jdk equivalents.
|
getConstructor | public static Constructor getConstructor(Class cl, Class[] params)(Code) | | Like class.getConstructor(Class[]) except cheaper and returns
null instead of throwing an exception when nothing found.
|
getMethod | public static Method getMethod(Class cl, String name, Class[] params)(Code) | | Like class.getMethod(String, Class[]) except cheaper and returns
null instead of throwing an exception when nothing found.
|
getMethods | public static Method[] getMethods(Class cl)(Code) | | memoize class.getMethods(); *
|
|
|