Package io.codemodder

Interface CodemodProvider


public interface CodemodProvider
A type that helps provide functionality codemods. For instance, we may have providers that run SAST tools, help codemods understand build files, dependency management, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<com.google.inject.AbstractModule>
    getModules(Path repository, List<Class<? extends CodeChanger>> codemodTypes, List<RuleSarif> sarifs)
    Return a set of Guice modules that allow dependency injection
  • Method Details

    • getModules

      Set<com.google.inject.AbstractModule> getModules(Path repository, List<Class<? extends CodeChanger>> codemodTypes, List<RuleSarif> sarifs)
      Return a set of Guice modules that allow dependency injection
      Returns:
      a set of modules that perform dependency injection