Commit Graph
4490 Commits
Author SHA1 Message Date
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
Bas Leijdekkers 7b58b81761 IDEA-121215 (Java 1.8: "Interface may be annotated with @FunctionalInterface" inspection should not report @interfaces) 2014-02-26 21:01:13 +01:00
Roman Shevchenko aea523f98a Cleanup (deprecated code; formatting) 2014-02-26 17:56:06 +01:00
peter 91863341b8 a test for IDEA-116706 Unselect word at caret doesn't work reversing through lambdarized anonymous class 2014-02-26 15:05:13 +01:00
Anna Kozlova 6033fa8670 provide type parameter based type with site substitutor to be accepted during type arguments check 2014-02-26 13:15:24 +01:00
Alexey Kudravtsev 2f69c1e1e2 notnull 2014-02-26 15:47:36 +04:00
Anna Kozlova 9b637e541b for loop -> forEach call chain inspection 2014-02-25 22:03:28 +01:00
Anna Kozlova e967a04b4b redundant lambda param types: take site subst into account 2014-02-25 22:03:27 +01:00
peter 0ecb335d3a IDEA-118988 completion could add 'value=' in annotation 2014-02-25 14:38:25 +01:00
Dmitry Batkovich 393b67f7a0 tests repaired 2014-02-25 17:25:22 +04:00
Anna Kozlova 6ded813afe new inference: most specifics, varargs case 2014-02-25 14:17:44 +01:00
Anna Kozlova 89aefc86f1 new inference: non-wildcard parameterization 2014-02-25 14:17:43 +01:00
Alexey Kudravtsev ca9faaac87 notnull 2014-02-25 15:06:40 +04:00
Anna Kozlova 1b50ea2eb2 lambda -> anonym: disable in unexpected context where cast won't help (IDEA-120165) 2014-02-25 10:15:19 +01:00
Anna Kozlova 24fbf809a1 anonym -> lambda: check initializer inside constructor for final fields (IDEA-120698) 2014-02-24 21:49:00 +01:00
Anna Kozlova 44dde647bb anonym -> lambda: do not suggest when forward references are detected (IDEA-120699) 2014-02-24 21:48:59 +01:00
Anna Kozlova 7a9bf2ac51 reject 1.7 varargs hack as 1.8 reject the code again even with target 1.7 2014-02-24 20:35:44 +01:00
Anna Kozlova 7a70428d04 lambda: accept ellipsis parameter when array expected (IDEA-117124) 2014-02-24 18:59:47 +01:00
Anna Kozlova d7d0eecd06 extract method with new inference 2014-02-24 18:59:45 +01:00
Anna Kozlova 351b9b1ebe tests left on 1.7 for now 2014-02-24 18:59:44 +01:00
Anna Kozlova e0ce9deea3 testdata 2014-02-24 18:59:43 +01:00
Anna Kozlova f1b256f416 forbid lambda in conditional inside cast context 2014-02-24 18:59:42 +01:00
Anna Kozlova 232f8bd465 new inference: strict subtyping: skip raw types 2014-02-24 18:59:41 +01:00
Anna Kozlova 828cb5a1a2 new inference: erase return type if unchecked conversion was performed 2014-02-24 18:59:40 +01:00
Dmitry Batrak 3d789e3449 temporary fix for completion issue (IDEA-80056, EA-54248) 2014-02-24 19:26:11 +04:00
Alexander Zolotov 68e033ec04 IDEA-121138 Tab completion does not work in autopopup 2014-02-24 15:30:15 +04:00
Dmitry Batrak a96ee36074 fix case in test data file name 2014-02-24 15:02:47 +04:00
Yaroslav Lepenkin e26dc5ba1c IDEA-120157 Reformat code ignores keep dependent methods together order 2014-02-24 13:25:41 +04:00
Anna Kozlova 0f39a4ca18 method refs: restore error on invalid array creation 2014-02-21 21:47:03 +01:00
Anna Kozlova b587af7151 exact method refs most specific: void compatibility 2014-02-21 21:47:01 +01:00
Roman Shevchenko 19a15169ba Cleanup (pointless exceptions dropped; test reformatted) 2014-02-21 20:27:58 +01:00
Roman Shevchenko dd456d2faa Cleanup (typos) 2014-02-21 20:27:58 +01:00
Roman Shevchenko b877311f4a Cleanup (unneeded test case inheritance) 2014-02-21 20:27:57 +01:00
Roman Shevchenko d128928c92 Cleanup (configuration tests correctly generified and annotated) 2014-02-21 20:27:56 +01:00
Anna Kozlova cf00d70317 delete old inference strategy for java 8 2014-02-21 18:55:56 +01:00
Anna Kozlova 2f80e7d9c0 new inference: reject partial computation 2014-02-21 18:55:54 +01:00
peter fdee76603c IDEA-117332 Change signature refactoring should warn about @Contract conflict 2014-02-21 15:38:38 +01:00
Alexey Kudravtsev ac1554975d structure view extracted 2014-02-21 17:51:14 +04:00
Alexey Kudravtsev cad71fe1cd notnull 2014-02-21 17:51:06 +04:00
Dmitry Batrak 0ea4a4bdef IDEA-80056 Column selection mode improvement
completion behaviour improvements:
* insert generated text into all carets' positions
* apply post-completion actions (like parenthesis insertion) to all carets
2014-02-21 16:49:47 +04:00
Dmitry Batrak 99dab771cd IDEA-80056 Column selection mode improvement
completion behaviour improvements:
* insert generated text into all carets' positions
* apply post-completion actions (like parenthesis insertion) to all carets
2014-02-21 16:48:27 +04:00
Anna Kozlova 948ad3e6d4 new inference: ensure type parameters are not modified during ground type evaluation 2014-02-21 12:42:23 +01:00
Anna Kozlova 6a38fbafaf new inference: avoid current type calculation during conflict resolution for target type detection (IDEA-121052) 2014-02-21 12:42:22 +01:00
Anna Kozlova 964fcf5994 java 8: final and default/static in interfaces 2014-02-20 22:40:18 +01:00
Anna Kozlova d2c3b4baef more specific inference: do not compare functional types if both methods were generic 2014-02-20 22:40:17 +01:00
Anna Kozlova e42ff74cc5 testdata for IDEA-120992 2014-02-20 22:40:16 +01:00
Anna Kozlova 217a1fd92f new inference: address anonymous classes (IDEA-121063) 2014-02-20 22:40:15 +01:00
Anna Kozlova 0f023fa5ab testdata for IDEA-121055 2014-02-20 22:40:14 +01:00