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.DetectorRuleio.codemodder.CodemodFileScanningResultonFileFound(io.codemodder.CodemodInvocationContext context, List<com.contrastsecurity.sarif.Result> results) Methods inherited from class io.codemodder.SarifPluginRawFileChanger
supports, visitFileMethods inherited from class io.codemodder.RawFileChanger
getDescription, getIndividualChangeDescription, getReferences, getSummaryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.codemodder.CodeChanger
getIncludesExcludesPattern, shouldRun
-
Method Details
-
vendorName
- Specified by:
vendorNamein interfaceio.codemodder.FixOnlyCodeChanger
-
detectorRule
public io.codemodder.codetf.DetectorRule detectorRule()- Specified by:
detectorRulein interfaceio.codemodder.FixOnlyCodeChanger
-
onFileFound
public io.codemodder.CodemodFileScanningResult onFileFound(io.codemodder.CodemodInvocationContext context, List<com.contrastsecurity.sarif.Result> results) - Specified by:
onFileFoundin classio.codemodder.SarifPluginRawFileChanger
-