public class PowerMockUtils extends Object
| Constructor and Description |
|---|
PowerMockUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Class<?>> |
getClassIterator(ClassLoader classLoader)
Get an iterator of all classes loaded by the specific classloader.
|
static void |
printClassesLoadedByClassloader(ClassLoader classLoader,
boolean includeParent) |
public static Iterator<Class<?>> getClassIterator(ClassLoader classLoader) throws NoSuchFieldException, IllegalAccessException
classLoader - NoSuchFieldExceptionIllegalAccessExceptionpublic static void printClassesLoadedByClassloader(ClassLoader classLoader, boolean includeParent) throws NoSuchFieldException, IllegalAccessException
classLoader - NoSuchFieldExceptionIllegalAccessExceptionCopyright © 2007–2015. All rights reserved.