Class SemgrepModule

java.lang.Object
com.google.inject.AbstractModule
io.codemodder.providers.sarif.semgrep.SemgrepModule
All Implemented Interfaces:
com.google.inject.Module

public final class SemgrepModule extends com.google.inject.AbstractModule
Responsible for binding Semgrep-related things.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SemgrepModule(Path codeDirectory, List<String> includePatterns, List<String> excludePatterns, List<Class<? extends io.codemodder.CodeChanger>> codemodTypes)
     
    SemgrepModule(Path codeDirectory, List<String> includePatterns, List<String> excludePatterns, List<Class<? extends io.codemodder.CodeChanger>> codemodTypes, List<io.codemodder.RuleSarif> sarifs, io.codemodder.providers.sarif.semgrep.SemgrepRuleFactory semgrepRuleFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SemgrepModule

      public SemgrepModule(Path codeDirectory, List<String> includePatterns, List<String> excludePatterns, List<Class<? extends io.codemodder.CodeChanger>> codemodTypes)
    • SemgrepModule

      public SemgrepModule(Path codeDirectory, List<String> includePatterns, List<String> excludePatterns, List<Class<? extends io.codemodder.CodeChanger>> codemodTypes, List<io.codemodder.RuleSarif> sarifs, io.codemodder.providers.sarif.semgrep.SemgrepRuleFactory semgrepRuleFactory)
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule