Add "Replace Java static method with Kotlin top-level function" inspection

#KT-27411 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-03-29 18:56:38 +09:00
committed by Dmitry Gridin
parent 6bef27e1e8
commit faa6eacb25
71 changed files with 663 additions and 0 deletions
@@ -3396,6 +3396,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.ReplaceJavaStaticMethodWithTopLevelFunctionInspection"
displayName="Replace Java static method with Kotlin top-level function"
groupPath="Kotlin"
groupName="Style issues"
enabledByDefault="true"
level="WEAK WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>