Introduce inspection "replace arrayOf with literal" #KT-17164 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-05-11 13:18:13 +03:00
committed by Mikhail Glukhikh
parent fb9d88315a
commit 9990550429
21 changed files with 259 additions and 2 deletions
+8
View File
@@ -2151,6 +2151,14 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.ReplaceArrayOfWithLiteralInspection"
displayName="'arrayOf' call can be replaced with array literal [...]"
groupName="Kotlin"
enabledByDefault="true"
level="WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>