public class CoverageTransformer extends Object implements ClassFileTransformer
Constructor and Description |
---|
CoverageTransformer(IRuntime runtime,
AgentOptions options,
IExceptionLogger logger)
New transformer with the given delegates.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
transform(ClassLoader loader,
String classname,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
public CoverageTransformer(IRuntime runtime, AgentOptions options, IExceptionLogger logger)
runtime
- coverage runtimeoptions
- configuration options for the generatorlogger
- logger for exceptions during instrumentationpublic byte[] transform(ClassLoader loader, String classname, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform
in interface ClassFileTransformer
IllegalClassFormatException
Copyright © 2019. All rights reserved.