Commit Graph
1869 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
Roman Shevchenko 64c651e7c5 IDEA-54397 (type annotations in override/implement) 2014-03-11 15:08:03 +01:00
Roman Shevchenko fb7c097c90 IDEA-121834 (generic exception substituted) 2014-03-11 15:05:52 +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 2c6cea692a IDEA-121698 Automatically make variables accessed from outer scopes final 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
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
Roman Shevchenko cfcc34be5f IDEA-121251 (stray annotation highlighted) 2014-02-28 19:33:48 +01:00
Anna Kozlova a047666d57 new inference: non wildcard parametrization against the spec 2014-02-28 16:13:52 +01:00
Anna Kozlova cf066deca7 default methods: do not warn about protected methods from Object 2014-02-28 09:59:35 +01:00
Anna Kozlova 80c776355c testdata fixed 2014-02-27 21:02:58 +01:00
Anna Kozlova e7cb908c95 new inference: method refs: apply reference rules first 2014-02-27 21:02:57 +01:00
Anna Kozlova 66a8dedb8c new inference: method refs: accept qualifier substitutor when nothing more could be inferred 2014-02-27 18:32:43 +01:00
Anna Kozlova b31b23cd0b new inference: temp solution to exclude inference results from nested call of the same method on the outer level 2014-02-27 18:32:41 +01:00
Anna Kozlova 5dd7e0622c new inference: support for nested same method calls 2014-02-27 18:32:40 +01:00
Dmitry Batrak 399fdef08e fix multi-caret completion issues, make TypedHandlers supporting block selection work also with multiple carets (IDEA-80056) 2014-02-27 19:03:00 +04:00