public class Mutation extends Object implements Comparable<Mutation>
Mutation class.
| Constructor and Description |
|---|
Mutation(String className,
String methodName,
String mutationName,
int id,
BytecodeInstruction original,
org.objectweb.asm.tree.AbstractInsnNode mutation,
org.objectweb.asm.tree.InsnList distance)
Constructor for Mutation.
|
Mutation(String className,
String methodName,
String mutationName,
int id,
BytecodeInstruction original,
org.objectweb.asm.tree.InsnList mutation,
org.objectweb.asm.tree.InsnList distance)
Constructor for Mutation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Mutation o) |
boolean |
equals(Object obj) |
String |
getClassName()
Getter for the field
className. |
Set<BranchCoverageGoal> |
getControlDependencies()
getControlDependencies
|
static org.objectweb.asm.tree.InsnList |
getDefaultInfectionDistance()
getDefaultInfectionDistance
|
int |
getId()
Getter for the field
id. |
org.objectweb.asm.tree.InsnList |
getInfectionDistance()
getInfectionDistance
|
int |
getLineNumber() |
String |
getMethodName()
Getter for the field
methodName. |
org.objectweb.asm.tree.InsnList |
getMutation()
Getter for the field
mutation. |
String |
getMutationName()
Getter for the field
mutationName. |
int |
getOperandSize()
getOperandSize
|
org.objectweb.asm.tree.AbstractInsnNode |
getOriginalNode()
getOriginalNode
|
int |
hashCode() |
String |
toString() |
public Mutation(String className, String methodName, String mutationName, int id, BytecodeInstruction original, org.objectweb.asm.tree.AbstractInsnNode mutation, org.objectweb.asm.tree.InsnList distance)
Constructor for Mutation.
className - a String object.methodName - a String object.mutationName - a String object.id - a int.original - a BytecodeInstruction object.mutation - a AbstractInsnNode object.distance - a InsnList object.public Mutation(String className, String methodName, String mutationName, int id, BytecodeInstruction original, org.objectweb.asm.tree.InsnList mutation, org.objectweb.asm.tree.InsnList distance)
Constructor for Mutation.
className - a String object.methodName - a String object.mutationName - a String object.id - a int.original - a BytecodeInstruction object.mutation - a InsnList object.distance - a InsnList object.public int getId()
Getter for the field id.
public String getMethodName()
Getter for the field methodName.
String object.public int getLineNumber()
public int getOperandSize()
getOperandSize
public String getMutationName()
Getter for the field mutationName.
String object.public Set<BranchCoverageGoal> getControlDependencies()
getControlDependencies
Set object.public org.objectweb.asm.tree.AbstractInsnNode getOriginalNode()
getOriginalNode
AbstractInsnNode object.public org.objectweb.asm.tree.InsnList getMutation()
Getter for the field mutation.
InsnList object.public org.objectweb.asm.tree.InsnList getInfectionDistance()
getInfectionDistance
InsnList object.public static org.objectweb.asm.tree.InsnList getDefaultInfectionDistance()
getDefaultInfectionDistance
InsnList object.public int compareTo(Mutation o)
compareTo in interface Comparable<Mutation>Copyright © 2010–2017 EvoSuite. All rights reserved.