class SmellDuplicationChecker {

    public Smell original(Smell instance, Commit commit, Commit previous) {
        logger.trace("==> Trying to guess original smell for: " + instance);

        // If we find a renaming of the smell file in this specific commit, try to guess the original smell.
        int index = fileRenamings.indexOf(FileRenameEntry.fromSmell(instance, commit));
        if (index > -1) {
            logger.trace("  ==> Guessing new original smell!");
            return guessOriginalSmell(instance, previous, fileRenamings.get(index));
        }

        logger.trace("  ==> No original smell found");

        return null;
    }

    public  SmellDuplicationChecker(int projectId, Persistence persistence, QueryEngine queryEngine);

}