Package io.codemodder.codemods
Class SQLParameterizerCodemod
java.lang.Object
io.codemodder.javaparser.JavaParserChanger
io.codemodder.codemods.SQLParameterizerCodemod
- All Implemented Interfaces:
io.codemodder.CodeChanger
@Codemod(id="pixee:java/sql-parameterizer",
importance=HIGH,
reviewGuidance=MERGE_AFTER_REVIEW)
public final class SQLParameterizerCodemod
extends io.codemodder.javaparser.JavaParserChanger
Parameterizes SQL statements in the JDBC API.
-
Field Summary
Fields inherited from class io.codemodder.javaparser.JavaParserChanger
reporter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.codemodder.CodemodFileScanningResultvisit(io.codemodder.CodemodInvocationContext context, com.github.javaparser.ast.CompilationUnit cu) Methods inherited from class io.codemodder.javaparser.JavaParserChanger
getDescription, getIncludesExcludesPattern, getIndividualChangeDescription, getReferences, getSummary, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.codemodder.CodeChanger
shouldRun
-
Constructor Details
-
SQLParameterizerCodemod
public SQLParameterizerCodemod()
-
-
Method Details
-
visit
public io.codemodder.CodemodFileScanningResult visit(io.codemodder.CodemodInvocationContext context, com.github.javaparser.ast.CompilationUnit cu) - Specified by:
visitin classio.codemodder.javaparser.JavaParserChanger
-