sofya.mutator
Class MethodMutation

java.lang.Object
  extended by sofya.mutator.MutationImpl
      extended by sofya.mutator.MethodMutation
All Implemented Interfaces:
Mutation
Direct Known Subclasses:
AOC.AOCMutation, AOP.AOPMutation, LCC.LCCMutation, ROP.ROPMutation

public abstract class MethodMutation
extends MutationImpl

A mutation that applies a transformation to the bytecode of a method.

Version:
09/25/2005
Author:
Alex Kinneer

Nested Class Summary
 
Nested classes/interfaces inherited from interface sofya.mutator.Mutation
Mutation.Variant
 
Field Summary
protected  java.lang.String className
          Name of the class containing the mutated method.
protected  java.lang.String methodName
          Name of the mutated method.
protected  java.lang.String signature
          Signature of the mutated method.
 
Constructor Summary
MethodMutation()
           
 
Method Summary
 java.lang.String getClassName()
          Gets the name of the class containing the method to which the mutation applies.
 java.lang.String getMethodName()
          Gets the name of the method to which the mutation applies.
 java.lang.String getSignature()
          Gets the signature of the method to which the mutation applies.
 
Methods inherited from class sofya.mutator.MutationImpl
getID, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sofya.mutator.Mutation
accept, apply, getDefaultVariant, getType, getVariants, print, serialize, undo
 

Field Detail

className

protected java.lang.String className
Name of the class containing the mutated method.


methodName

protected java.lang.String methodName
Name of the mutated method.


signature

protected java.lang.String signature
Signature of the mutated method.

Constructor Detail

MethodMutation

public MethodMutation()
Method Detail

getClassName

public java.lang.String getClassName()
Gets the name of the class containing the method to which the mutation applies.

Returns:
The name of the class implementing the mutated method.

getMethodName

public java.lang.String getMethodName()
Gets the name of the method to which the mutation applies.

Returns:
The name of the mutated method.

getSignature

public java.lang.String getSignature()
Gets the signature of the method to which the mutation applies.

Returns:
The signature of the mutated method.