Introduce inspection: "Setter backing field should be assigned"

#KT-20273 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-10-09 13:35:18 +03:00
committed by Mikhail Glukhikh
parent 784d9f14f6
commit 3ede93df11
21 changed files with 293 additions and 0 deletions
+9
View File
@@ -3060,6 +3060,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.SetterBackingFieldAssignmentInspection"
displayName="Existing backing field is not assigned by the setter"
groupPath="Kotlin"
groupName="Probable bugs"
enabledByDefault="true"
level="WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>