Package io.codemodder

Annotation Interface Codemod


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Codemod
Used to mark types providing codemod functionality and provide the necessary metadata.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The codemod ID, which must follow this nomenclature:
    The review guidance for the changes introduced by this codemod
  • Element Details

    • id

      String id
      The codemod ID, which must follow this nomenclature:

      [vendor]:[language]/[unique identifier]

      Some examples:

      • pixee:java/secure-random
      • codeql:java/xss
    • reviewGuidance

      ReviewGuidance reviewGuidance
      The review guidance for the changes introduced by this codemod
      Returns:
      review guidance