Package io.codemodder.codemods
Class SwitchToStandardCharsetsCodemod
java.lang.Object
io.codemodder.javaparser.JavaParserChanger
io.codemodder.CompositeJavaParserChanger
io.codemodder.codemods.SwitchToStandardCharsetsCodemod
- All Implemented Interfaces:
io.codemodder.CodeChanger
@Codemod(id="pixee:java/switch-to-standard-charsets",
importance=LOW,
reviewGuidance=MERGE_AFTER_REVIEW)
public final class SwitchToStandardCharsetsCodemod
extends io.codemodder.CompositeJavaParserChanger
Moves strings to
StandardCharsets
fields.-
Field Summary
Fields inherited from class io.codemodder.javaparser.JavaParserChanger
reporter
-
Constructor Summary
ConstructorsConstructorDescriptionSwitchToStandardCharsetsCodemod
(io.codemodder.codemods.SwitchToStandardCharsetsCodemod.GetBytesCodemod getBytesCodemod, io.codemodder.codemods.SwitchToStandardCharsetsCodemod.CharsetForNameCodemod charsetForNameCodemode) -
Method Summary
Methods inherited from class io.codemodder.CompositeJavaParserChanger
getIncludesExcludesPattern, supports, visit
Methods inherited from class io.codemodder.javaparser.JavaParserChanger
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
shouldRun
-
Constructor Details
-
SwitchToStandardCharsetsCodemod
@Inject public SwitchToStandardCharsetsCodemod(io.codemodder.codemods.SwitchToStandardCharsetsCodemod.GetBytesCodemod getBytesCodemod, io.codemodder.codemods.SwitchToStandardCharsetsCodemod.CharsetForNameCodemod charsetForNameCodemode)
-