intellij-community
intellij-community copied to clipboard
FunctionalExpressionsIdentity inspection (IDEA-154488)
Reports objects which are a subtype of java.util.Set or java.util.Map that may contain keys of functional interface type. In such situations non-captured lambdas/method references could be stored in sets which could lead to unexpected results because lambdas can be reused.
Please rebase on master as we have monorepo now, sorry for that!