Interface RemediationStrategy

All Known Implementing Classes:
ModularRemediationStrategy, ReplaceLimitedLookupStrategy, SQLInjectionFixComposer

public interface RemediationStrategy
  • Method Summary

    Modifier and Type
    Method
    Description
    fix(com.github.javaparser.ast.CompilationUnit cu, com.github.javaparser.ast.Node node)
    Apply a fix to the issue detected a given node.
  • Method Details

    • fix

      SuccessOrReason fix(com.github.javaparser.ast.CompilationUnit cu, com.github.javaparser.ast.Node node)
      Apply a fix to the issue detected a given node.
      Returns:
      A SuccessOrReason object containing a list of dependencies if the fix was successful, or a reason for failure otherwise