override fun isSuppressedFor()

in idea-plugin/src/main/kotlin/org/jetbrains/compose/inspections/ComposeSuppressor.kt [30:35]


    override fun isSuppressedFor(element: PsiElement, toolId: String): Boolean {
        return toolId == "FunctionName" &&
                element.language == KotlinLanguage.INSTANCE &&
                element.node.elementType == KtTokens.IDENTIFIER &&
                element.parent.let { it is KtNamedFunction && it.isComposableFunction() }
    }