public class InsertUnaryOperator extends Object implements MutationOperator
InsertUnaryOperator class.
| Constructor and Description |
|---|
InsertUnaryOperator() |
| Modifier and Type | Method and Description |
|---|---|
List<Mutation> |
apply(org.objectweb.asm.tree.MethodNode mn,
String className,
String methodName,
BytecodeInstruction instruction,
org.objectweb.asm.tree.analysis.Frame frame)
Insert the mutation into the bytecode
|
boolean |
isApplicable(BytecodeInstruction instruction)
Check if the mutation operator is applicable to the instruction
|
public static final String NAME
public List<Mutation> apply(org.objectweb.asm.tree.MethodNode mn, String className, String methodName, BytecodeInstruction instruction, org.objectweb.asm.tree.analysis.Frame frame)
apply in interface MutationOperatormn - a MethodNode object.className - a String object.methodName - a String object.instruction - a BytecodeInstruction object.frame - a Frame object.List object.public boolean isApplicable(BytecodeInstruction instruction)
isApplicable in interface MutationOperatorinstruction - a BytecodeInstruction object.Copyright © 2010–2017 EvoSuite. All rights reserved.