Commit Graph
3055 Commits
Author SHA1 Message Date
Anna Kozlova 10760d9bbf new inference: process varargs as separate method candidate/separate phase
(cherry picked from commit fdd6f66268d29bb996a103f69180851b92947d21)
2014-03-12 10:15:03 +01:00
Anna Kozlova fb20169d40 new inference: reject varargs as method reference target
(cherry picked from commit 77017d7790b78c5bb20c591e2588c1eccd0f96d7)
2014-03-12 10:13:54 +01:00
Anna Kozlova 0f40eb9bed new inference: exact method reference is not pertinent to applicability when target type is type parameter
(cherry picked from commit 8b3512a097ef1124a5cede6ade95b4e50017c7b9)
2014-03-12 10:13:19 +01:00
Anna Kozlova f64d2394d2 rename suggestions: suggest new names for non-variables (IDEA-121982) 2014-03-12 10:07:16 +01:00
Roman Shevchenko f05869508f IDEA-54387 (type annotations in introduce parameter) 2014-03-11 17:39:19 +01:00
Roman Shevchenko 64c651e7c5 IDEA-54397 (type annotations in override/implement) 2014-03-11 15:08:03 +01:00
Roman Shevchenko 3f3e06483b IDEA-54396 (type annotations in "Wrap Return Value") 2014-03-11 15:07:58 +01:00
Roman Shevchenko 744d7c8d97 java: "wrap return value" bean formatting fixed 2014-03-11 15:06:38 +01:00
Roman Shevchenko fb7c097c90 IDEA-121834 (generic exception substituted) 2014-03-11 15:05:52 +01:00
peter 3627c465e4 dfa: treat different constants with same values as same (IDEA-121837) 2014-03-07 19:41:30 +01:00
Anna Kozlova dccb826526 new inference: cache substitutor for outer call conflict resolution 2014-03-07 18:02:48 +01:00
Bas Leijdekkers 54fccb5efd IDEA-121828 (Add single member static import intention should be available on incomplete code) 2014-03-07 16:54:19 +01:00
Bas Leijdekkers 6d2515cf2f fix IDEA-112499 for single member static imports 2014-03-07 16:54:18 +01:00
Bas Leijdekkers 811fdf58e0 fix IDEA-112499 for on demand imports 2014-03-07 16:54:18 +01:00
Bas Leijdekkers b52ec5f33f IDEA-121784 (Add on demand static import intention not available when single-member static import present) 2014-03-07 16:54:17 +01:00
Bas Leijdekkers 557cca9d2d IDEA-108072 (Don't suggest to add on-demand static import for the current class) 2014-03-06 19:16:12 +01:00
Alexander Zolotov 8d6f72b2ca IDEA-121756 Don't provide postfix completion options in java string literals 2014-03-06 21:54:52 +04:00
Anna Kozlova 1a931f9871 lambda: unhandled exceptions inside method body should be treated as those inside anonymous classes (IDEA-121741) 2014-03-06 15:30:24 +01:00
Anna Kozlova a042720e74 stream migration inspection: preserve comments (IDEA-121679) 2014-03-06 15:30:23 +01:00
Anna Kozlova b060c817e0 stream migration inspection: collapse only primitive new initializers (IDEA-121745) 2014-03-06 15:30:22 +01:00
Anna Kozlova 09c6a8db6c method refs: search for potentially applicable members in supers (IDEA-121737) 2014-03-06 11:42:08 +01:00
Anna Kozlova 5412fbc960 overload resolution: grab lambda from nested parenthesis as well as conditional expressions 2014-03-06 11:42:07 +01:00
Roman Shevchenko 4969888e1f java: no annotations needed in type cast 2014-03-06 10:55:44 +01:00
Roman Shevchenko 1687a22e89 Cleanup (unneeded test data) 2014-03-06 10:55:44 +01:00
Anna Kozlova f86ac6f741 new inference: use equals bounds during incorporation 2014-03-06 10:15:25 +01:00
Anna Kozlova e07fdee02a testdata for IDEA-118965 2014-03-06 10:15:24 +01:00
Anna Kozlova 46112ee3ec new inference: cache lambda functional type during expression constraints reduction (IDEA-121315) 2014-03-06 10:15:23 +01:00
Anna Kozlova 5029b3fc55 new inference: do not prefer specifics based on void return type for both void and value compatible lambdas 2014-03-06 10:15:22 +01:00
peter ba09765e0a missing test data 2014-03-05 22:30:11 +01:00
peter 76591fdeca dfa: comparison with other variables shouldn't affect a variable's nullability status 2014-03-05 22:19:28 +01:00
peter 2c6cea692a IDEA-121698 Automatically make variables accessed from outer scopes final 2014-03-05 22:19:28 +01:00
peter 6166a0e4fb don't flush fields for pure method and getter calls (IDEA-117449) 2014-03-05 22:19:28 +01:00
Anna Kozlova 95977a086c new inference: cleanup 2014-03-05 16:17:00 +01:00
Anna Kozlova 380c7a998e testdata for IDEA-121661 2014-03-05 11:39:48 +01:00
Anna Kozlova 0fa7d08f83 IDEA-121658 Java 1.8: "Replace with forEach" quick fix is not suggested if for statement is not surrounded with braces 2014-03-05 11:39:47 +01:00
Anna Kozlova e31638ac97 IDEA-121621 Java 1.8: "Replace with collect" quick fix inserts unresolved method reference 2014-03-04 19:29:05 +01:00
Roman Shevchenko c6947e3831 IDEA-108454 (test added) 2014-03-04 17:42:29 +01:00
Anna Kozlova a4977be1d5 lambda/method refs: provide super class navigation - ctrl-u/line markers (IDEA-120160) 2014-03-04 13:46:27 +01:00
Roman Shevchenko b9b76dca15 java: type annotations 2014-03-04 10:53:04 +01:00
Dmitry Avdeev d728fd73fa IDEA-121518 Cannot edit files in IDEA after project opening:
initial folding in opening thread, assertions relaxed
2014-03-04 13:51:47 +04:00
Anna Kozlova 80d6e1f570 new inference: use site substitutor during return constraints processing (red code in Collectors) 2014-03-03 20:20:57 +01:00
Anna Kozlova b55527aba3 testdata for IDEA-118965 2014-03-03 20:20:56 +01:00
Anna Kozlova eb3695fffc new inference: non wildcard parametrization: reject primitive bounds 2014-03-03 13:43:47 +01:00
Anna Kozlova ab2348a911 new inference: diamond in lambda return workaround 2014-03-03 13:43:46 +01:00
Anna Kozlova 6087cbacb0 java 1.8, stream api migration: convert to method refs 2014-03-03 13:43:44 +01:00
Anna Kozlova fb65345150 java 1.8, stream api migration: shorten class names 2014-03-03 13:43:43 +01:00
Anna Kozlova 0cab1e2e81 java 1.8, stream api migration: collect (to be continued) 2014-03-03 11:00:05 +01:00
Anna Kozlova c2bee641c0 restore error on diamonds under 1.6 (IDEA-121377) 2014-02-28 20:07:10 +01:00
Anna Kozlova d8b3e5c7fd new inference: captures should stay closed inside nested calls 2014-02-28 20:07:08 +01:00
Anna Kozlova e683dc8fc1 new inference: wildcard parametrization for lambda with formal params: assignability check for complete parametrization only 2014-02-28 20:07:07 +01:00