Commit Graph

999 Commits

Author SHA1 Message Date
Anna Kozlova
ee56497e3d new inference: symmetric variable bounds 2013-09-20 20:36:36 +04:00
Anna Kozlova
4a46b24bcb new inference: init inter call inference 2013-09-20 20:36:35 +04:00
Anna Kozlova
935cdbaf3b new inference: initial tests 2013-09-20 12:11:57 +04:00
peter
85ca653ed0 do we have java.applet in mockjdk now? 2013-09-18 20:40:51 +02:00
Roman Shevchenko
20150830af java: highlighting for statics in anonymous classes 2013-09-16 13:02:14 +04:00
Roman Shevchenko
2c8eb0da10 Cleanup (formatting) 2013-09-16 13:02:13 +04:00
Bas Leijdekkers
e16694eabf IDEA-63698 (Inconvertible type (assign double to Integer) not highlighted as error) 2013-09-14 22:13:13 +02:00
Mike Strobel
fbc3d18f9e IDEA-111450 false positive for "Redundant type cast" inspection 2013-09-12 21:43:10 +04:00
Bas Leijdekkers
8d7f95a137 IDEA-26350 (Bad Java code is green: variable might not have been initialized) 2013-09-11 16:18:45 +02:00
Bas Leijdekkers
ba3c923024 IDEA-93530 (bad code green: cannot assign a value to final variable) 2013-09-10 23:09:52 +02:00
Bas Leijdekkers
816cc8a140 IDEA-93515 (Good code red: variable might not have been initialized) 2013-09-10 20:08:37 +02:00
Anna Kozlova
4cae15713b more specific: lambda extended initial fix (IDEA-113357) 2013-09-09 21:42:47 +04:00
Bas Leijdekkers
2fa6ff6b69 test for IDEA-53184 2013-09-09 17:10:59 +02:00
Anna Kozlova
286cdc3bae anonym -> lambda: unique param names (IDEA-113338) 2013-09-09 13:03:19 +04:00
peter
2418434082 update FixAllQuickfixTest test data, so that it identifies the quick fix unambiguously 2013-09-05 21:35:18 +02:00
Anna Kozlova
5ac8d00c35 accept narrowing conversion from byte[] to T< extends Serializable> (IDEA-113225) 2013-09-05 19:56:35 +04:00
Anna Kozlova
0622404265 method refs: ambiguity (IDEA-113078) 2013-09-04 13:46:45 +04:00
Bas Leijdekkers
d273f7d591 "Move assignment to field declaration" intention CCE fix 2013-09-03 21:47:43 +02:00
Anna Kozlova
7c56a37bc4 create var from instanceOf check: do not insert before previous line end-line comment 2013-08-30 14:20:22 +04:00
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