Add inspection to replace Java Map.forEach with Kotlin's forEach
#KT-17278 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
9c674cb7c3
commit
1a818970c3
@@ -3288,6 +3288,15 @@
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.JavaMapForEachInspection"
|
||||
displayName="Java Map.forEach method call should be replaced with Kotlin's forEach"
|
||||
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"/>
|
||||
|
||||
Reference in New Issue
Block a user