sofya.mutator
Interface MutationOperator

All Known Implementing Classes:
AFC, AOC, AOP, HFA, HFR, IOD, LCC, ROP

public interface MutationOperator

A mutation operator defines and implements a transformation that can be applied to a Java class file to create a "mutated" version of the class.

Version:
09/20/2005
Author:
Alex Kinneer
See Also:
Mutation, MutationGenerator, Mutator

Method Summary
 java.lang.String description()
          Gets the descriptive name for this mutation operator.
 void generateMutants(MutationTable mt, org.apache.bcel.generic.ClassGen cg)
          Generates mutations of a class and stores them to a mutation table; mutations are not actually applied.
 java.lang.String name()
          Gets the name of this mutation operator, in its abbreviated form.
 

Method Detail

generateMutants

void generateMutants(MutationTable mt,
                     org.apache.bcel.generic.ClassGen cg)
Generates mutations of a class and stores them to a mutation table; mutations are not actually applied.

Parameters:
mt - Mutation table that records the generated mutations.
cg - BCEL representation of the class for which mutations are being generated.

name

java.lang.String name()
Gets the name of this mutation operator, in its abbreviated form.

Returns:
The name of this mutation operator.

description

java.lang.String description()
Gets the descriptive name for this mutation operator.

Returns:
The descriptive name for this mutation operator.