Commit Graph

8 Commits

Author SHA1 Message Date
Tagir Valeev
61f7252105 [java-highlighting] same erasure problems migrated
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 052d3bf8a26c376c7dfc5b1e370e583cf6236138
2025-02-12 20:34:11 +00:00
Tagir Valeev
f1b1712b43 [java-highlighting] More method-related checks to MethodChecker
Unify add/remove modifier fixes
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 83db9a85524edc7c39737a75b470e0697a9c02db
2025-01-15 19:19:41 +00:00
Alexey Kudravtsev
7400c8f866 check for duplicate methods made linear down from quadratic 2013-07-02 11:53:09 +04:00
anna
5e682f1319 good code is red: take bounds into account during types agree (IDEA-76283) 2012-04-05 12:12:38 +02:00
anna
2bd262433b missed substitutor in hash code (IDEA-74581) 2011-09-27 15:55:24 +02:00
anna
9bd778fc21 test data for IDEA-74581 2011-09-26 12:45:06 +02:00
anna
18b6fe1bd4 check method signatures equality by erasure; do not check method names for constructors.
note that erasure of type parameter is erasure of its left bound (jls), so erasure (T extends A & B) != erasure (T extends B & A)
e.g. IDEA-74409
2011-09-23 08:00:09 +02:00
anna
ab7796431a show methods the same if type parameter bounds were mixed 2010-08-26 12:03:53 +04:00