Commit Graph

3 Commits

Author SHA1 Message Date
Tagir Valeev
d8e08c17bb [java-highlighting] Improve error messages around inapplicable method reference
Fixes IDEA-362351 An Incorrect Error warning "Non-static methods cannot be referenced from a static context"
Fixes IDEA-173183 Wrong error message for method reference
Improves IDEA-208532 Incorrect Inspect code error in lambda expression method reference

GitOrigin-RevId: 8f7a17688eaa1aba72bbccd45395967656108668
2024-11-22 15:34:30 +00:00
Anna Kozlova
2cc9842ac2 method references: highlight separately non-instantiated classes, not resolved methods (IDEA-123279) 2014-04-02 10:51:27 +02:00
anna
10439a10a0 new inference: reject methrefs with inconsistent number of parameters
(cherry picked from commit 9c41270192e140ed28067e2740333c6d3fa49bd2)
2013-11-25 16:47:52 +01:00