Files
openide/java/java-tests/testData/codeInspection
Tagir Valeev 7b359df0e1 [java-inference] Avoid -> new; pure contracts on methods returning Collection or Map
We assume that such methods return local object. However, we also assume that Collection/Map size is its field. But in fact, it may delegate to another collection

Fixes IDEA-266180 Constant conditions & exceptions false positive with Guava Lists

GitOrigin-RevId: ba6f76bd1b34b1b9503b4be1ce85119ba54f6b3e
2021-04-09 05:13:19 +00:00
..