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
- NoSuchFieldException
IllegalAccessException
public static void printClassesLoadedByClassloader(ClassLoader classLoader, boolean includeParent) throws NoSuchFieldException, IllegalAccessException
classLoader
- NoSuchFieldException
IllegalAccessException
Copyright © 2007–2016. All rights reserved.