public class MutationInstrumentation extends Object implements MethodInstrumentation
MutationInstrumentation class.
| Constructor and Description |
|---|
MutationInstrumentation()
Constructor for MutationInstrumentation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInstrumentation(org.objectweb.asm.tree.MethodNode mn,
org.objectweb.asm.tree.AbstractInsnNode original,
List<Mutation> mutations)
addInstrumentation
|
void |
analyze(ClassLoader classLoader,
org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
int access)
analyze
|
boolean |
executeOnExcludedMethods()
if this method returns true the analyze method is also called on methods
which are excluded in CFGMethodAdapter.EXCLUDE
|
boolean |
executeOnMainMethod()
If this method returns true, the analyze method is also called on public
static void main() methods
|
public MutationInstrumentation()
Constructor for MutationInstrumentation.
public void analyze(ClassLoader classLoader, org.objectweb.asm.tree.MethodNode mn, String className, String methodName, int access)
analyze
analyze in interface MethodInstrumentationmn - the ASM Node of the methodclassName - the name of current classmethodName - the name of the current method. This name includes the
description of the method and is therefore unique per class.access - the access of the current method (see
org.objectweb.asm.ClassAdapter#visitMethod(int access, String
name, String descriptor, String signature, String[]
exceptions))public boolean executeOnMainMethod()
executeOnMainMethod in interface MethodInstrumentationpublic boolean executeOnExcludedMethods()
executeOnExcludedMethods in interface MethodInstrumentationCopyright © 2010–2017 EvoSuite. All rights reserved.