Introduce "Unused unary operator" inspection

#KT-12073 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-09-10 11:10:32 +09:00
committed by Dmitry Gridin
parent 158f7f1cd7
commit 74970ddfeb
12 changed files with 153 additions and 0 deletions
@@ -3459,6 +3459,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.UnusedUnaryOperatorInspection"
displayName="Unused unary operator"
groupPath="Kotlin"
groupName="Probable bugs"
enabledByDefault="true"
level="WARNING"
language="kotlin"
/>
<projectService serviceInterface="org.jetbrains.kotlin.idea.codeInsight.KotlinCodeInsightWorkspaceSettings"
serviceImplementation="org.jetbrains.kotlin.idea.codeInsight.KotlinCodeInsightWorkspaceSettings"/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>