Class CodeQLSarifJavaParserChanger<T extends com.github.javaparser.ast.Node>
java.lang.Object
io.codemodder.javaparser.JavaParserChanger
io.codemodder.SarifPluginJavaParserChanger<T>
io.codemodder.providers.sarif.codeql.CodeQLSarifJavaParserChanger<T>
- All Implemented Interfaces:
io.codemodder.CodeChanger,io.codemodder.FixOnlyCodeChanger
public abstract class CodeQLSarifJavaParserChanger<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 CodeQL analysis.
-
Field Summary
Fields inherited from class io.codemodder.SarifPluginJavaParserChanger
sarifFields inherited from class io.codemodder.javaparser.JavaParserChanger
reporter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCodeQLSarifJavaParserChanger(io.codemodder.RuleSarif sarif, Class<? extends com.github.javaparser.ast.Node> nodeType, io.codemodder.SourceCodeRegionExtractor<com.contrastsecurity.sarif.Result> regionExtractor) -
Method Summary
Methods inherited from class io.codemodder.SarifPluginJavaParserChanger
onResultFound, shouldRun, supports, visitMethods inherited from class io.codemodder.javaparser.JavaParserChanger
getDescription, getIncludesExcludesPattern, 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
-
CodeQLSarifJavaParserChanger
protected CodeQLSarifJavaParserChanger(io.codemodder.RuleSarif sarif, Class<? extends com.github.javaparser.ast.Node> nodeType, io.codemodder.SourceCodeRegionExtractor<com.contrastsecurity.sarif.Result> regionExtractor)
-
-
Method Details
-
vendorName
- Specified by:
vendorNamein interfaceio.codemodder.FixOnlyCodeChanger
-