Class SemgrepSarifJavaParserChanger<T extends com.github.javaparser.ast.Node>
java.lang.Object
io.codemodder.javaparser.JavaParserChanger
io.codemodder.SarifPluginJavaParserChanger<T>
io.codemodder.providers.sarif.semgrep.SemgrepSarifJavaParserChanger<T>
- All Implemented Interfaces:
io.codemodder.CodeChanger,io.codemodder.FixOnlyCodeChanger
public abstract class SemgrepSarifJavaParserChanger<T extends com.github.javaparser.ast.Node>
extends io.codemodder.SarifPluginJavaParserChanger<T>
implements io.codemodder.FixOnlyCodeChanger
Provides foundational functionality for modifying Java code using JavaParser based on findings
from a SARIF file generated by Semgrep analysis.
-
Field Summary
Fields inherited from class io.codemodder.SarifPluginJavaParserChanger
sarifFields inherited from class io.codemodder.javaparser.JavaParserChanger
reporter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSemgrepSarifJavaParserChanger(io.codemodder.RuleSarif sarif, Class<? extends com.github.javaparser.ast.Node> nodeType, io.codemodder.RegionNodeMatcher regionNodeMatcher, io.codemodder.CodemodReporterStrategy reporterStrategy) -
Method Summary
Methods inherited from class io.codemodder.SarifPluginJavaParserChanger
onResultFound, shouldRun, visitMethods inherited from class io.codemodder.javaparser.JavaParserChanger
getDescription, getIndividualChangeDescription, getReferences, getSummaryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.codemodder.FixOnlyCodeChanger
detectorRule
-
Constructor Details
-
SemgrepSarifJavaParserChanger
protected SemgrepSarifJavaParserChanger(io.codemodder.RuleSarif sarif, Class<? extends com.github.javaparser.ast.Node> nodeType, io.codemodder.RegionNodeMatcher regionNodeMatcher, io.codemodder.CodemodReporterStrategy reporterStrategy)
-
-
Method Details
-
vendorName
- Specified by:
vendorNamein interfaceio.codemodder.FixOnlyCodeChanger
-