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
sarif
Fields inherited from class io.codemodder.javaparser.JavaParserChanger
reporter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SemgrepSarifJavaParserChanger
(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, visit
Methods inherited from class io.codemodder.javaparser.JavaParserChanger
getDescription, getIndividualChangeDescription, getReferences, getSummary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
vendorName
in interfaceio.codemodder.FixOnlyCodeChanger
-