Add "Redundant enum constructor invocation" inspection

#KT-29321 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-04 12:21:35 +09:00
committed by Mikhail Glukhikh
parent 542d3c3532
commit e8a8bc89c9
11 changed files with 141 additions and 0 deletions
@@ -3239,6 +3239,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.RedundantEnumConstructorInvocationInspection"
displayName="Redundant enum constructor invocation"
groupPath="Kotlin"
groupName="Redundant constructs"
enabledByDefault="true"
level="WEAK WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>