org.powermock.core
Class PowerMockUtils

java.lang.Object
  extended by org.powermock.core.PowerMockUtils

public class PowerMockUtils
extends Object


Constructor Summary
PowerMockUtils()
           
 
Method Summary
static Iterator<Class<?>> getClassIterator(ClassLoader classLoader)
          Get an iterator of all classes loaded by the specific classloader.
static void printClassesLoadedByClassloader(ClassLoader classLoader, boolean includeParent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerMockUtils

public PowerMockUtils()
Method Detail

getClassIterator

public static Iterator<Class<?>> getClassIterator(ClassLoader classLoader)
                                           throws NoSuchFieldException,
                                                  IllegalAccessException
Get an iterator of all classes loaded by the specific classloader.

Parameters:
classLoader -
Returns:
Throws:
NoSuchFieldException
IllegalAccessException

printClassesLoadedByClassloader

public static void printClassesLoadedByClassloader(ClassLoader classLoader,
                                                   boolean includeParent)
                                            throws NoSuchFieldException,
                                                   IllegalAccessException
Parameters:
classLoader -
Throws:
NoSuchFieldException
IllegalAccessException


Copyright © 2007-2012. All Rights Reserved.