junit.quilt.cover.state
Class SMClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--java.security.SecureClassLoader
              |
              +--java.net.URLClassLoader
                    |
                    +--junit.quilt.cover.generic.QuiltClassLoader
                          |
                          +--junit.quilt.cover.generic.MethInstClassLoader
                                |
                                +--junit.quilt.cover.state.SMClassLoader

public class SMClassLoader
extends MethInstClassLoader


Constructor Summary
protected SMClassLoader(java.lang.String[] packages, java.net.URL[] path, java.lang.ClassLoader parent, StateMachineRegistry registry)
           
 
Method Summary
 void instrumentMethod(InstContext context, ControlFlowGraph cfg)
          Override this abstract method to instrument a method.
 void instrumentPool(InstContext context)
          instrumentPool Gives the subclass a chance to add things into the Constant Pool.
 
Methods inherited from class junit.quilt.cover.generic.MethInstClassLoader
getEdgeFactory, instrumentEdge, modifyClass
 
Methods inherited from class junit.quilt.cover.generic.QuiltClassLoader
addStaticField, findClass
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMClassLoader

protected SMClassLoader(java.lang.String[] packages,
                        java.net.URL[] path,
                        java.lang.ClassLoader parent,
                        StateMachineRegistry registry)
Method Detail

instrumentPool

public void instrumentPool(InstContext context)
Description copied from class: MethInstClassLoader
instrumentPool Gives the subclass a chance to add things into the Constant Pool. If you need to pass information from here to the instrumentMethod make sure you drop it in the context.
Overrides:
instrumentPool in class MethInstClassLoader

instrumentMethod

public void instrumentMethod(InstContext context,
                             ControlFlowGraph cfg)
Description copied from class: MethInstClassLoader
Override this abstract method to instrument a method.
Overrides:
instrumentMethod in class MethInstClassLoader


Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.