com.google.jstestdriver.coverage
Class CodeInstrumentor

java.lang.Object
  extended by com.google.jstestdriver.coverage.CodeInstrumentor
All Implemented Interfaces:
Instrumentor

public class CodeInstrumentor
extends java.lang.Object
implements Instrumentor

Decorates the source code with coverage instrumentation.


Nested Class Summary
 class CodeInstrumentor.InstrumentationException
          Thrown when instrumentation fails.
 
Constructor Summary
CodeInstrumentor(CoverageNameMapper mapper)
          
Method Summary
 InstrumentedCode instrument(Code code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeInstrumentor






Method Detail

instrument

public InstrumentedCode instrument(Code code)
Specified by:
instrument in interface Instrumentor