Commit Graph

1010 Commits

Author SHA1 Message Date
Bas Leijdekkers
a0163c7c3d fix test data 2013-10-07 11:04:49 +02:00
Bas Leijdekkers
b21a51bac3 fix test data 2013-10-05 23:13:48 +02:00
anna
417e906b18 test data fixed 2013-10-02 19:50:13 +02:00
anna
7bf6e776a3 warn about usages of final fields in another fields even if they appear after constructor where it would be definitely assigned (IDEA-114280) 2013-10-02 19:01:46 +02:00
anna
e6ea7bc88c accept type arguments on raw types for > 1.6 javac 2013-10-01 21:42:31 +02:00
Roman Shevchenko
39e5e2087f IDEA-114169 (false positive for non-intersecting throwers) 2013-09-30 14:52:21 +02:00
anna
2ea47e35b1 new inference: move test 2013-09-26 19:16:12 +02:00
anna
264025422d test data fixed 2013-09-25 18:32:29 +02:00
anna
f5257087e9 new inference: overload resolution for SAM return type for implicit lambda should be ignored 2013-09-25 16:12:44 +02:00
Anna Kozlova
e78ab513a5 lambda: check formal params for equality, eliminate wildcards during inference according to 15.27.3 2013-09-23 19:50:41 +04:00
Anna Kozlova
f415702127 new inference: default constructor as poly expression argument 2013-09-20 20:36:37 +04:00
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