Add "Constructor has non-null self reference parameter" inspection (KT-29799)

#KT-29799 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-03-07 11:46:35 +03:00
committed by Nikolay Krasko
parent 6634d7ab15
commit bcfab83d1c
8 changed files with 104 additions and 0 deletions
@@ -3364,6 +3364,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.SelfReferenceConstructorParameterInspection"
displayName="Constructor has non-null self reference parameter"
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"/>