Package io.codemodder.codemods.codeql
Class CodeQLMavenSecureURLCodemod
java.lang.Object
io.codemodder.RawFileChanger
io.codemodder.SarifPluginRawFileChanger
io.codemodder.codemods.codeql.CodeQLMavenSecureURLCodemod
- All Implemented Interfaces:
io.codemodder.CodeChanger
,io.codemodder.FixOnlyCodeChanger
@Codemod(id="codeql:java/maven/non-https-url",
reviewGuidance=MERGE_WITHOUT_REVIEW,
importance=MEDIUM,
executionPriority=HIGH)
public final class CodeQLMavenSecureURLCodemod
extends io.codemodder.SarifPluginRawFileChanger
implements io.codemodder.FixOnlyCodeChanger
Fixes issues reported under the id "java/maven/non-https-url".
-
Field Summary
Fields inherited from class io.codemodder.RawFileChanger
reporter
-
Method Summary
Modifier and TypeMethodDescriptionio.codemodder.codetf.DetectorRule
io.codemodder.CodemodFileScanningResult
onFileFound
(io.codemodder.CodemodInvocationContext context, List<com.contrastsecurity.sarif.Result> results) Methods inherited from class io.codemodder.SarifPluginRawFileChanger
supports, visitFile
Methods inherited from class io.codemodder.RawFileChanger
getDescription, getIndividualChangeDescription, getReferences, getSummary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.codemodder.CodeChanger
getIncludesExcludesPattern, shouldRun
-
Method Details
-
vendorName
- Specified by:
vendorName
in interfaceio.codemodder.FixOnlyCodeChanger
-
detectorRule
public io.codemodder.codetf.DetectorRule detectorRule()- Specified by:
detectorRule
in interfaceio.codemodder.FixOnlyCodeChanger
-
onFileFound
public io.codemodder.CodemodFileScanningResult onFileFound(io.codemodder.CodemodInvocationContext context, List<com.contrastsecurity.sarif.Result> results) - Specified by:
onFileFound
in classio.codemodder.SarifPluginRawFileChanger
-