| java.lang.Object org.apache.commons.discovery.tools.ClassUtils
ClassUtils | public class ClassUtils (Code) | | author: Richard A. Sitze |
findPublicStaticMethod | public static Method findPublicStaticMethod(Class clazz, Class returnType, String methodName, Class[] paramTypes)(Code) | | Method 'public static returnType methodName(paramTypes)',if found to be directly implemented by clazz. |
getPackageName | public static String getPackageName(Class clazz)(Code) | | Get package name.
Not all class loaders 'keep' package information,
in which case Class.getPackage() returns null.
This means that calling Class.getPackage().getName()
is unreliable at best.
|
setLog | public static void setLog(Log _log)(Code) | | |
|
|