Class ModifierOrder
java.lang.Object
eu.solven.cleanthat.engine.java.refactorer.AJavaParserMutator
eu.solven.cleanthat.engine.java.refactorer.mutators.ModifierOrder
- All Implemented Interfaces:
IMutator
,IRuleExternalUrls
Order modifiers according the the Java specification.
- Author:
- Benoit Lacelle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
processNotRecursively
(com.github.javaparser.ast.Node node) Methods inherited from class eu.solven.cleanthat.engine.java.refactorer.AJavaParserMutator
getThreadJavaParser, onMethodName, optResolvedType, replaceNode, scopeHasRequiredType, scopeHasRequiredType, tryReplace, walkNode
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
getId, getIds, getPmdId, getSonarId, isJreOnly, isProductionReady, walkNode
Methods inherited from interface eu.solven.cleanthat.engine.java.refactorer.meta.IRuleExternalUrls
pmdUrl, sonarUrl
-
Constructor Details
-
ModifierOrder
public ModifierOrder()
-
-
Method Details
-
minimalJavaVersion
- Specified by:
minimalJavaVersion
in interfaceIMutator
- Returns:
- the minimal JDK for which this rule is applicable. For instance, any rule related with diamond operator requires JDK1.5
-
checkstyleUrl
- Specified by:
checkstyleUrl
in interfaceIRuleExternalUrls
-
getCheckstyleId
- Specified by:
getCheckstyleId
in interfaceIMutator
-
jsparrowUrl
- Specified by:
jsparrowUrl
in interfaceIRuleExternalUrls
-
processNotRecursively
protected boolean processNotRecursively(com.github.javaparser.ast.Node node) - Overrides:
processNotRecursively
in classAJavaParserMutator
-