KotlinInspectionSuppressor: introduce more precise quick-fix names
Related to KT-11154, KT-25169
This commit is contained in:
+2
@@ -22,6 +22,8 @@ class KotlinInspectionSuppressor : InspectionSuppressor {
|
||||
object : SuppressQuickFix {
|
||||
override fun getFamilyName() = it.familyName
|
||||
|
||||
override fun getName() = it.text
|
||||
|
||||
override fun applyFix(project: Project, descriptor: ProblemDescriptor) = it.invoke(project, null, descriptor.psiElement)
|
||||
|
||||
override fun isAvailable(project: Project, context: PsiElement) = it.isAvailable(project, null, context)
|
||||
|
||||
Reference in New Issue
Block a user