'associate' can be replaced with 'associateBy' or 'associateWith'
Reports calls to
associateTo() that can be replaced with
Both functions accept a transformer function applied to elements of a given sequence or collection (as a receiver). The pairs are then used to build the resulting
Given the transformer refers to
associate[To]() call can be replaced with more performant
After the quick-fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3