User: joe Date: 14 Sep 23 19:52 Revision: 5b49b4d29de27319f1f7c6727629e7720646f14f Summary: DataFlowIssue is also the new ConstantConditions TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=8720&personal=false Index: src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt =================================================================== --- src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt (revision 8c107841011f0b9e652ad78fa7574c0cfb914414) +++ src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt (revision 5b49b4d29de27319f1f7c6727629e7720646f14f) @@ -42,8 +42,8 @@ import com.intellij.psi.util.PsiUtil /** - * Looks for `ConstantConditions` and `ConstantValue` warnings on type casts and checks if they are casts to interfaces - * introduced by mixins + * Looks for `ConstantConditions`, `ConstantValue` and `DataFlowIssue` warnings on type casts and checks if they are + * casts to interfaces introduced by mixins */ class MixinClassCastInspectionSuppressor : InspectionSuppressor { @@ -127,6 +127,6 @@ SuppressQuickFix.EMPTY_ARRAY companion object { - private val INSPECTIONS = setOf("ConstantConditions", "ConstantValue") + private val INSPECTIONS = setOf("ConstantConditions", "ConstantValue", "DataFlowIssue") } }