blob: a87afd265e196291cfa8ec27842c6973d8062821 [file] [log] [blame]
package org.eclipse.emf.refactor.smells.core;
import java.util.LinkedList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.refactor.smells.interfaces.IModelSmellFinder;
/**
* Abstract superclass for finder classes of metric based smells.
*
* @author Matthias Burhenne
*
*/
public abstract class MetricBasedModelSmellFinderClass implements IModelSmellFinder {
private double limit = 0.0; // the limit for the smell. Will be 0.0 at loading time and later read from configuration
@Override
abstract public LinkedList<LinkedList<EObject>> findSmell(EObject arg0);
public void setLimit(double limit){
this.limit = limit;
}
public double getLimit(){
return limit;
}
}