Package io.codemodder.codemods
Class SQLParameterizer
java.lang.Object
io.codemodder.codemods.SQLParameterizer
Contains most of the logic for detecting and fixing parameterizable SQL statements for a given
MethodCallExpr
.-
Constructor Summary
ConstructorsConstructorDescriptionSQLParameterizer
(com.github.javaparser.ast.expr.MethodCallExpr methodCallExpr) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks ifmethodCall
is a query call that needs to be fixed and fixes if that's the case.
-
Constructor Details
-
SQLParameterizer
public SQLParameterizer(com.github.javaparser.ast.expr.MethodCallExpr methodCallExpr)
-
-
Method Details
-
checkAndFix
public boolean checkAndFix()Checks ifmethodCall
is a query call that needs to be fixed and fixes if that's the case.
-