Class UseDiamondOperator
- java.lang.Object
-
- eu.solven.cleanthat.language.java.rules.AJavaParserRule
-
- eu.solven.cleanthat.language.java.rules.mutators.UseDiamondOperator
-
- All Implemented Interfaces:
IClassTransformer
,IRuleExternalUrls
@Deprecated(since="Not-ready") public class UseDiamondOperator extends AJavaParserRule implements IClassTransformer, IRuleExternalUrls
Deprecated.Use the diamond operation<>
whenever possible.- Author:
- Benoit Lacelle
-
-
Constructor Summary
Constructors Constructor Description UseDiamondOperator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Optional<String>
getPmdId()
Deprecated.boolean
isProductionReady()
Deprecated.String
jsparrowUrl()
Deprecated.String
minimalJavaVersion()
Deprecated.String
pmdUrl()
Deprecated.protected boolean
processNotRecursively(com.github.javaparser.ast.Node node)
Deprecated.String
sonarUrl()
Deprecated.-
Methods inherited from class eu.solven.cleanthat.language.java.rules.AJavaParserRule
getThreadJavaParser, onMethodName, optResolvedType, replaceNode, 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.language.java.rules.meta.IClassTransformer
getCheckstyleId, getId, getIds, walkNode
-
Methods inherited from interface eu.solven.cleanthat.language.java.rules.meta.IRuleExternalUrls
checkstyleUrl
-
-
-
-
Method Detail
-
isProductionReady
public boolean isProductionReady()
Deprecated.- Specified by:
isProductionReady
in interfaceIClassTransformer
-
minimalJavaVersion
public String minimalJavaVersion()
Deprecated.- Specified by:
minimalJavaVersion
in interfaceIClassTransformer
- Returns:
- the minimal JDK for which this rule is applicable. For instance, any rule related with diamond operator requires JDK1.5
-
sonarUrl
public String sonarUrl()
Deprecated.- Specified by:
sonarUrl
in interfaceIRuleExternalUrls
-
pmdUrl
public String pmdUrl()
Deprecated.- Specified by:
pmdUrl
in interfaceIRuleExternalUrls
-
getPmdId
public Optional<String> getPmdId()
Deprecated.- Specified by:
getPmdId
in interfaceIClassTransformer
-
jsparrowUrl
public String jsparrowUrl()
Deprecated.- Specified by:
jsparrowUrl
in interfaceIRuleExternalUrls
-
processNotRecursively
protected boolean processNotRecursively(com.github.javaparser.ast.Node node)
Deprecated.- Overrides:
processNotRecursively
in classAJavaParserRule
-
-