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

    sarif

    Fields inherited from class io.codemodder.javaparser.JavaParserChanger

    reporter
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CodeQLSarifJavaParserChanger(io.codemodder.RuleSarif sarif, Class<? extends com.github.javaparser.ast.Node> nodeType, io.codemodder.SourceCodeRegionExtractor<com.contrastsecurity.sarif.Result> regionExtractor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class io.codemodder.SarifPluginJavaParserChanger

    onResultFound, shouldRun, supports, visit

    Methods inherited from class io.codemodder.javaparser.JavaParserChanger

    getDescription, getIncludesExcludesPattern, 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

    • 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

      public String vendorName()
      Specified by:
      vendorName in interface io.codemodder.FixOnlyCodeChanger