public class PowerMockUtils extends Object
Constructor | Description |
---|---|
PowerMockUtils() |
Modifier and Type | Method | 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–2019. All rights reserved.