Commit Graph
643 Commits
Author SHA1 Message Date
anna 6cfb2cafce ambiguous method calls: conflict resolver, tests
(IDEA-25097)
2012-04-09 12:22:53 +02:00
anna e386cea3ab ambiguous method calls: conflict resolver, tests (IDEA-78027) 2012-04-09 12:12:56 +02:00
anna d8748bb076 ambiguous method calls: conflict resolver, tests
(IDEA-67832; IDEA-67837; IDEA-67573; IDEA-57306;
 IDEA-57535; IDEA-57269; IDEA-57278; IDEA-57317)
2012-04-09 11:57:27 +02:00
anna 8fe1604bd1 show warning on type parameter declaration if it lead to multiple methods with same erasure (java7 only) 2012-04-08 14:05:51 +02:00
Alexey Kudravtsev 713aa0a2b0 IDEABKL-3891 2012-04-06 19:59:08 +04:00
anna dc5c191afc ambiguous method calls: conflict resolver, tests
(IDEA-67919; IDEA-67863; IDEA-67920;
 IDEA-67831; IDEA-67833; IDEA-67674;
 IDEA-67587; IDEA-57646; IDEA-57407;
 IDEA-57279; IDEA-57296; IDEA-57297;
 IDEA-57316; IDEA-57331)
2012-04-06 11:55:43 +02:00
anna 27b6395f89 fix inference for object type arg 2012-04-05 19:08:45 +02:00
anna 9242d62213 good code is red: wildcard should check the bound if any in order to prove difference (IDEA-63291) 2012-04-05 19:08:45 +02:00
anna b706c5284e testdata for IDEA-74899 2012-04-05 19:08:44 +02: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 dab1c48d59 additional testdata for inaccessible type params members from IDEA-66305 2012-04-05 09:57:05 +02:00
anna 3156fab144 jdk7 incompatibility: red good code is green: always check signature erasure equals for jdk7 (IDEA-66311)
add checks for param erasure for jdk6
2012-04-05 09:57:04 +02:00
anna db78c2d427 enable create enum constant from switch label statements (IDEA-84054) 2012-04-04 16:38:00 +02:00
anna a4e23d3546 good code red: do not allow unchecked conversions on deeper wildcard levels (IDEA-80386) 2012-04-03 19:19:44 +02:00
anna 6719c86450 good code red: do not create ? super Object constraint as nothing would match (IDEA-77991) 2012-04-03 19:19:43 +02:00
peter e4a1bb0b1c IDEA-83774 Completion for anonymous class is incorrectly aligned when class is not accessible in the scope 2012-03-30 20:27:28 +02:00
anna 0a99721ccb substitution should not expand captured unbounded type (IDEA-79360) 2012-03-30 11:11:07 +02:00
anna 6ea7222b14 ensure that cast won't be marked as redundant for jdk7 (IDEA-82002)
(is valid though for jdk6)
2012-03-29 20:04:23 +02:00
anna 8c852b28d5 unchecked warning: argument type doesn't depend on call substitutor (IDEA-82605) 2012-03-29 20:04:22 +02:00
anna 1563df17f1 red code is green wildcard problems ++(IDEA-66750;IDEA-75178;IDEA-73377) 2012-03-29 15:17:24 +02:00
anna 24d2eeb3d0 service to detect java version;
highlight access to private class members according to java version used (IDEA-83045)
2012-03-29 11:06:43 +02:00
anna 09246f5482 process captured wildcards (IDEA-82913) 2012-03-28 18:01:15 +02:00
anna b68e03ec53 hide iterate intention for non expression statements (IDEA-83625) 2012-03-28 16:37:48 +02:00
anna bc7e569fa1 covariant return types: difference between java7 & java6 (IDEA-83599) 2012-03-28 13:27:06 +02:00
anna b4c42eb076 IDEA-83600: pull up for local classes 2012-03-28 13:27:05 +02:00
Roman Shevchenko 2a99d489af IDEA-80590 (hint to ignore unused for-each parameters and resource variables) 2012-03-28 00:15:10 +02:00
peter baee22d965 expected type should always be at the top of the lookup in smart completion after new 2012-03-27 20:30:59 +02:00
peter 14893c2f39 IDEA-83580 Unnecessary parentheses around call qualifier 2012-03-27 20:30:59 +02:00
Konstantin Bulenkov d84822f977 +forName 2012-03-26 12:28:27 +02:00
Konstantin Bulenkov ab3a58a664 reflection fix + tests 2012-03-23 18:06:28 +01:00
anna caf67194d7 IDEA-82857 fix javadoc during delegate with default parameter (cherry picked from commit d6ac82f) 2012-03-21 18:01:59 +01:00
Bas Leijdekkers ec1f3e7655 IDEA-82925 ('Surround with cast' for conditional, polyadic and assignment expressions should parenthesize those expressions) 2012-03-16 13:14:21 +01:00
Roman Shevchenko 81f0d72e8f [ann] IDEA-82436 (check unclosed non-empty char literals) 2012-03-15 19:08:59 +01:00
peter d165428546 another fix for too eager casting in completion 2012-03-15 17:20:43 +04:00
anna 08585afbb4 deprecation inspection: check non default constructors used in anonymous classes (IDEA-82794) 2012-03-15 11:29:56 +01:00
anna 2c7d491f4b incorrect default deprecation is used (IDEA-82721) 2012-03-14 17:24:57 +01:00
peter 205d9f807e don't cast when instaceofing List<String> to ArrayList 2012-03-14 14:40:14 +04:00
peter e383348498 IDEA-26763 Auto-complete Generics on the RHS (now in basic completion as well) 2012-03-09 23:16:01 +04:00
peter ed3f7f1132 position caret to the next probable editing location after inserting type arguments (IDEA-26763) 2012-03-09 23:05:53 +04:00
peter 404d2487f1 suggest to fill all the required type arguments at once (IDEA-26763) 2012-03-09 22:30:24 +04:00
peter 37e6704812 suggest collection utility methods in basic completion on non-empty prefix 2012-03-09 21:05:12 +04:00
peter d796ecea55 normal methods should have higher priority than Collections.emptyList 2012-03-09 20:39:06 +04:00
peter c4ed6f3022 IDEA-68584 Completion should detect return type and autocast in some cases 2012-03-09 15:16:40 +04:00
peter 392d90ae1b IDEA-82427 Code Completion produces bad code inside if brackets 2012-03-08 16:50:30 +04:00
peter e51edaedf7 IDEA-50592 'Surround with cast' for binary expressions (e.g. a+b) should parenthesize those expressions 2012-03-08 15:17:42 +04:00
peter f3b09cee3a IDEA-54220 Code Completion for value() method in @interfaces could be added 2012-03-07 20:24:50 +04:00
peter 91fb524a30 IDEA-25267 Smart Completion after continue&break should filter labels 2012-03-07 20:24:50 +04:00
peter c89084affd IDEA-50588 Don't suggest getX when completing setX() parameter (disprefer, actually) 2012-03-06 20:30:18 +04:00
peter 8ec30835fd IDEA-50631 Chaining second smart completion should suggest possible one-element arrays as qualifier 2012-03-06 20:30:18 +04:00
peter 1b19428761 IDEA-79591 Suggest field name in construction parameter name completion 2012-03-05 23:26:29 +04:00