io.codemodder.remediation.reflectioninjection.ReflectionInjectionRemediator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codemodder-base Show documentation
Show all versions of codemodder-base Show documentation
Base framework for writing codemods in Java
package io.codemodder.remediation.reflectioninjection;
import com.github.javaparser.ast.CompilationUnit;
import io.codemodder.CodemodFileScanningResult;
import io.codemodder.codetf.DetectorRule;
import java.util.List;
import java.util.function.Function;
/** Remediates reflection injection vulnerabilities. */
public interface ReflectionInjectionRemediator {
/** Remediate all reflection injection vulnerabilities in the given compilation unit. */
CodemodFileScanningResult remediateAll(
CompilationUnit cu,
String path,
DetectorRule detectorRule,
List issuesForFile,
Function getKey,
Function getLine,
Function getColumn);
ReflectionInjectionRemediator DEFAULT = new DefaultReflectionInjectionRemediator();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy