Package io.codemodder

Interface CodeChanger

All Known Implementing Classes:
CompositeJavaParserChanger, JavaParserChanger, RawFileChanger, RegexFileChanger, SarifPluginJavaParserChanger, SarifPluginRawFileChanger

public interface CodeChanger
The base of a codemod type.
  • Method Details

    • getSummary

      String getSummary()
      The headline for this codemod's changes.
    • getDescription

      String getDescription()
      A deep description of what this codemod's changes.
    • getSourceControlUrl

      Optional<String> getSourceControlUrl()
      The URL of the source code of the security control API added in this change, if any.
    • getReferences

      List<io.codemodder.codetf.CodeTFReference> getReferences()
      A list of references for further reading on the issues this codemod addresses or other supplementary information.
    • getIndividualChangeDescription

      String getIndividualChangeDescription(Path filePath, CodemodChange change)
      A description of an individual change made by this codemod.