public class DefUseInstrumentation extends Object implements MethodInstrumentation
DefUseInstrumentation class.
| Constructor and Description |
|---|
DefUseInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
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 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 executeOnExcludedMethods()
executeOnExcludedMethods in interface MethodInstrumentationpublic boolean executeOnMainMethod()
executeOnMainMethod in interface MethodInstrumentationCopyright © 2010–2017 EvoSuite. All rights reserved.