Commit Graph
1130 Commits
Author SHA1 Message Date
Anna Kozlova 75847497e5 method refs: accept 2 phase acceptance (static and receiver based), raise 'staticAccess' errors at highlighting level 2013-08-30 13:10:42 +04:00
Anna Kozlova 04a76c3faf IDEA-112555 Bad code is green with method references on instance 2013-08-26 18:11:00 +04:00
Anna Kozlova 4be2bcf4f0 restore suggestion to remove 'abstract' when method has body 2013-08-26 14:02:43 +04:00
Anna Kozlova 425a1e03fa avoid warnings on super abstract methods that they try to assign weaker access (IDEA-67584) 2013-08-22 21:59:24 +04:00
Anna Kozlova 5ee69d4938 check overridden methods with different type params numbers for thrown exceptions (IDEA-67860) 2013-08-22 21:59:22 +04:00
Anna Kozlova 183c7cd0b8 fix testdata 2013-08-20 15:15:13 +04:00
Anna Kozlova 6e9b26f3b1 method refs IDEA-112323 2013-08-20 13:32:04 +04:00
Anna Kozlova 507249a31b distinguish wildcards with raw/generic bounds (IDEA-97276) 2013-08-17 16:49:15 +04:00
Anna Kozlova bb1cea719a simplified isAssignable check 2013-08-16 20:54:06 +04:00
Anna Kozlova a6a1737ba1 revert fix for IDEA-110947 (IDEA-112122) 2013-08-16 11:32:39 +04:00
Anna Kozlova e1e583734a TypeParameter inferred types check unification 2013-08-16 11:28:51 +04:00
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
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
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
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