| java.lang.Object org.jboss.test.util.Debug
Debug | public class Debug (Code) | | Various debugging utility methods available for use in unit tests
author: Scott.Stark@jboss.org |
Method Summary | |
public static void | displayClassInfo(Class clazz, StringBuffer results) Format a string buffer containing the Class, Interfaces, CodeSource,
and ClassLoader information for the given object clazz. | public static URL[] | getClassLoaderURLs(ClassLoader cl) Use reflection to access a URL[] getURLs or ULR[] getAllURLs method so
that non-URLClassLoader class loaders, or class loaders that override
getURLs to return null or empty, can provide the true classpath info. |
displayClassInfo | public static void displayClassInfo(Class clazz, StringBuffer results)(Code) | | Format a string buffer containing the Class, Interfaces, CodeSource,
and ClassLoader information for the given object clazz.
Parameters: clazz - the Class results, the buffer to write the info to |
getClassLoaderURLs | public static URL[] getClassLoaderURLs(ClassLoader cl)(Code) | | Use reflection to access a URL[] getURLs or ULR[] getAllURLs method so
that non-URLClassLoader class loaders, or class loaders that override
getURLs to return null or empty, can provide the true classpath info.
|
|
|