public class BytecodeInstrumentation extends Object
| Constructor and Description |
|---|
BytecodeInstrumentation()
Constructor for BytecodeInstrumentation.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIfCanInstrument(String className)
Check if we can instrument the given class
|
static boolean |
checkIfEvoSuitePackage(String className)
Check if we the class belongs to an EvoSuite package
|
boolean |
shouldTransform(String className)
shouldTransform
|
byte[] |
transformBytes(ClassLoader classLoader,
String className,
org.objectweb.asm.ClassReader reader)
transformBytes
|
public BytecodeInstrumentation()
Constructor for BytecodeInstrumentation.
public static boolean checkIfCanInstrument(String className)
className - a String object.public static boolean checkIfEvoSuitePackage(String className)
className - a String object.public boolean shouldTransform(String className)
shouldTransform
className - a String object.public byte[] transformBytes(ClassLoader classLoader, String className, org.objectweb.asm.ClassReader reader)
transformBytes
className - a String object.reader - a ClassReader object.Copyright © 2010–2017 EvoSuite. All rights reserved.