Class EnumsWithoutEquals
java.lang.Object
eu.solven.cleanthat.engine.java.refactorer.AJavaparserMutator
eu.solven.cleanthat.engine.java.refactorer.mutators.EnumsWithoutEquals
- All Implemented Interfaces:
IJavaparserMutator
,IMutator
,IMutatorExternalReferences
,IWalkingMutator<com.github.javaparser.ast.Node,
com.github.javaparser.ast.Node>
Prevent relying .equals on
Enum
types- Author:
- Benoit Lacelle
-
Field Summary
Fields inherited from interface eu.solven.cleanthat.engine.java.refactorer.meta.IMutator
ID_NOOP, IS_PRODUCTION_READY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected boolean
processNotRecursively
(com.github.javaparser.ast.Node node) Methods inherited from class eu.solven.cleanthat.engine.java.refactorer.AJavaparserMutator
getSimpleName, getWarnCount, isImportable, isImported, messageForIssueReporting, onMethodName, optResolved, optResolvedType, optResolvedType, replaceBy, replaceNode, scopeHasRequiredType, scopeHasRequiredType, tryReplace, walkAst
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.solven.cleanthat.engine.java.refactorer.meta.IMutator
getIds, isDraft, isJreOnly
Methods inherited from interface eu.solven.cleanthat.engine.java.refactorer.meta.IMutatorExternalReferences
checkstyleUrl, getCheckstyleId, getCleanthatId, getPmdId, getPmdIds, getSeeUrls, getSonarId, pmdUrl, sonarUrl
Methods inherited from interface eu.solven.cleanthat.engine.java.refactorer.meta.IWalkingMutator
walkAstHasChanged
-
Constructor Details
-
EnumsWithoutEquals
public EnumsWithoutEquals()
-
-
Method Details
-
minimalJavaVersion
-
getId
-
jsparrowUrl
-
processNotRecursively
protected boolean processNotRecursively(com.github.javaparser.ast.Node node) - Overrides:
processNotRecursively
in classAJavaparserMutator
-