All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.remediation.Remediator Maven / Gradle / Ivy

package io.codemodder.remediation;

import com.github.javaparser.ast.CompilationUnit;
import io.codemodder.CodemodFileScanningResult;
import io.codemodder.codetf.DetectorRule;
import java.util.Collection;
import java.util.Optional;
import java.util.function.Function;

/**
 * Remediates findings for a given path.
 *
 * @param 
 */
public interface Remediator {

  CodemodFileScanningResult remediateAll(
      final CompilationUnit cu,
      final String path,
      final DetectorRule detectorRule,
      final Collection findingsForPath,
      final Function findingIdExtractor,
      final Function findingStartLineExtractor,
      final Function> findingEndLineExtractor,
      final Function> findingColumnExtractor);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy