Add inspection for private primary constructors in data classes
Fixes #KT-15709
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f64345634b
commit
909007d984
@@ -2029,6 +2029,14 @@
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.DataClassPrivateConstructorInspection"
|
||||
displayName="Private data class constructor is exposed via the 'copy' method"
|
||||
groupName="Kotlin"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
|
||||
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user