Commit Graph

1502 Commits

Author SHA1 Message Date
Anna Kozlova
e006534d08 moreSpecific cleanup 2013-08-15 17:38:03 +04:00
Anna Kozlova
397c637699 testdata for IDEA-57633 2013-08-15 13:49:58 +04:00
Anna Kozlova
230c6fd84b moreSpecific: use site info to check assignability, prefer concrete to abstract methods (IDEA-57569) 2013-08-15 13:49:57 +04:00
Anna Kozlova
3f49bd2d73 moreSpecific: check erased signatures when comparing interface methods (IDEA-67519) 2013-08-15 13:49:51 +04:00
Anna Kozlova
215cfff69c prefer generics to raw when more specific was not detected (IDEA-67576) 2013-08-15 13:49:50 +04:00
Anna Kozlova
c5e3693ce2 testdata for IDEA-67836 2013-08-15 13:49:49 +04:00
Anna Kozlova
4e7a81fd93 testdata for IDEA-67843 2013-08-15 13:49:48 +04:00
Anna Kozlova
47220fd160 moreSpecific simplification, include complete check for inferred types in MethodCandidateInfo.isApplicable 2013-08-15 13:49:47 +04:00
Anna Kozlova
533073479b generics: allow foreign interface usage in class type arguments 2013-08-09 14:21:28 +02:00
Anna Kozlova
7cf4be2861 provide enum constructor package local modifier according to spec examples (IDEA-111785) 2013-08-09 14:21:26 +02:00
Anna Kozlova
5ca0622cf4 IDEA-111715: implements for enum constant without class initializer 2013-08-09 14:21:25 +02:00
anna
e777a6d77d ambiguity: forgotten check on class type when check for type args (IDEA-67865) 2013-08-07 22:02:55 +02:00
Roman Shevchenko
cfc55bcb41 java: single underscore variables highlighting for Java 8 2013-08-07 15:07:21 +02:00
anna
75b37b8dbf testdata for IDEA-57312 2013-08-06 20:48:33 +02:00
anna
c8cc567c52 do not open capture for upper level wildcards with equals constraint (IDEA-57439) 2013-08-06 20:48:32 +02:00
anna
ad657339ff continue least upper bound calculation till second nested layer (IDEA-67676) 2013-08-06 20:48:31 +02:00
anna
6d3989e21d IDEA-111613 Bad code is green: IDEA doesn't show 'Unhandled exception' error when a method with parametrized 'throws' section is used with wildcard type argument 2013-08-06 13:49:10 +02:00
anna
1bd39a6322 recursive lambda checks for functional interfaces 2013-08-06 13:49:09 +02:00
Roman Shevchenko
b993b94f0e IDEA-111523 (the intention is only supposed to work inside regular assignment) 2013-08-05 21:47:23 +02:00
anna
50ac56862b fix testdata 2013-08-05 21:41:29 +02:00
anna
867d5f227d least upper bound for primitive arrays fixed (IDEA-111420) 2013-08-05 18:16:25 +02:00
anna
30dce02dfc primitive/class conversions are available since language level 1.5 (IDEA-111451) 2013-08-05 18:16:24 +02:00
Alexey Kudravtsev
e4c59feb9d more optimisations 2013-08-05 14:47:32 +04:00
peter
0cfc3b5f9e IDEA-111144 'Generate Getter' should add @Override if needed 2013-08-01 16:57:08 +02:00
peter
83a2d9cb96 IDEA-111362 Generate constructor removes "m" from variable name 2013-08-01 16:57:08 +02:00
Anna Kozlova
d28dd0f6ca testdata fixed 2013-07-29 20:08:03 +02:00
anna
07937a57e5 testdata for IDEA-57289 2013-07-26 20:10:45 +02:00
anna
562a03a913 testdata for IDEA-107440 2013-07-26 19:11:14 +02:00
anna
6cee174e4e check all type parameters bounds (IDEA-109556) 2013-07-26 19:11:13 +02:00
anna
b55834ea6e moreSpecific conflicts resolve (IDEA-111085) 2013-07-26 19:11:13 +02:00
anna
b6884eab9f capture wildcards in type casts (IDEA-101862; IDEA-97703) 2013-07-25 18:31:29 +02:00
anna
3a4d70a453 inference: do not infer from type cast (IDEA-111002) 2013-07-25 11:21:22 +02:00
anna
40d22fb15b revert lower accessibility for getters/setters (IDEA-108598) + consistency to getter/setter completion 2013-07-25 10:20:04 +02:00
peter
8d2ba5aecb first member in call chains should not have parameters (IDEA-110961) 2013-07-24 19:07:20 +02:00
anna
080504137e IDEA-110917 Incorrect "Redundant Cast" on Complex Conditional 2013-07-24 17:14:30 +02:00
anna
d59413a8a1 do not infer from wildcard with raw bound (IDEA-110947) 2013-07-24 17:14:29 +02:00
anna
d3fcd37b20 type param bound check fixed (IDEA-110869) 2013-07-23 18:38:42 +02:00
anna
4ea8185461 fix method signature erased equality (IDEA-57391) 2013-07-18 19:47:51 +02:00
anna
4c0d630919 provably distinct (IDEA-67682) 2013-07-18 19:11:14 +02:00
peter
7839f1c478 IDEA-105093 Eclipse-way getter/setter completion 2013-07-18 17:09:32 +02:00
peter
198be80441 IDEA-109171 Code completion is suggesting to implement a class 2013-07-18 17:09:31 +02:00
anna
25b9cc4304 inference for ? super wildcard (IDEA-67744) 2013-07-17 20:31:47 +02:00
anna
b1418932ee testdata for IDEA-67835 2013-07-17 20:31:46 +02:00
anna
e6ee01a887 do not rebound captured wildcard (IDEA-57325) 2013-07-17 20:31:45 +02:00
anna
823e008db1 calculate bound based on all type arguments (IDEA-57334) 2013-07-17 20:31:44 +02:00
anna
650fdb9ff1 forbid access to package local statics via inheritance from another package (IDEA-66493) 2013-07-17 16:26:18 +02:00
anna
8a15ea45ab generics: do not prefer interface over super class even if return type is more specific (IDEA-110568) 2013-07-16 12:30:04 +02:00
anna
68a43aa534 @FunctionalInterface make warning to prevent misunderstanding 2013-07-15 13:41:52 +02:00
peter
107d61b2b7 IDEA-107086 Java: suggest private members of a casted class inside itself 2013-07-12 15:13:05 +02:00
Dmitry Batkovich
56f3a39c69 method chains completion 2013-07-12 12:48:39 +04:00