Class CodeInterceptor
java.lang.Object
se.sics.kompics.simulator.instrumentation.CodeInterceptor
- All Implemented Interfaces:
javassist.Translator
public class CodeInterceptor extends Object implements javassist.Translator
The
CodeInterceptor
class.- Version:
- $Id$
- Author:
- Cosmin Arad <[email protected]>
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_REDIRECT
-
Constructor Summary
Constructors Constructor Description CodeInterceptor(File directory, boolean allowThreads)
CodeInterceptor(File directory, boolean allowThreads, String redirect)
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
start
public void start(javassist.ClassPool cp) throws javassist.NotFoundException, javassist.CannotCompileException- Specified by:
start
in interfacejavassist.Translator
- Throws:
javassist.NotFoundException
javassist.CannotCompileException
-
onLoad
public void onLoad(javassist.ClassPool pool, String classname) throws javassist.NotFoundException, javassist.CannotCompileException- Specified by:
onLoad
in interfacejavassist.Translator
- Throws:
javassist.NotFoundException
javassist.CannotCompileException
-