Commit Graph
44 Commits
Author SHA1 Message Date
Anna Kozlova 3766febf2e inline local: fix for outer lambda + nested lambda/class (IDEA-174979) 2017-06-26 16:11:56 +03:00
peter 2d78283eee canonicalize test data formatting for inline local variable 2016-12-02 08:17:33 +01:00
Anna.Kozlova 260c6317c8 inline local: go through lambda/inner class hierarchy evenly (IDEA-162909) 2016-10-21 14:52:31 +02:00
Anna.Kozlova df5219221c inline: ensure to insert valid specification (IDEA-161992) 2016-10-04 18:45:14 +02:00
Anna.Kozlova 1e5372292b java stub for literal expression to ensure parenthesis 2016-07-20 09:29:54 +02:00
Anna.Kozlova 91b549e39c testdata for IDEA-93973 2016-04-29 19:22:54 +02:00
Anna.Kozlova 23113360f1 inline: insert cast to avoid changes in resolve (IDEA-152837; IDEA-155045) 2016-04-29 19:22:54 +02:00
Anna.Kozlova bb5a0f66e9 inline: don't flatten multi dimensional array in varargs calls (IDEA-153700) 2016-03-29 21:17:55 +02:00
Anna.Kozlova ca2921eb6e inline local: don't check assignability before decoding (IDEA-152883) 2016-03-24 15:58:41 +01:00
Anna Kozlova e6a5fc8f31 inline functional expression: surround with parenthesis if inlined in method reference qualifier (IDEA-152600) 2016-03-04 19:58:08 +01:00
Anna Kozlova af1a898ee8 inline local: fix usages inside lambda body (IDEA-151960) 2016-02-24 13:12:24 +01:00
Anna Kozlova 8405c19832 priority of array index expression (IDEA-147503) 2015-11-06 20:36:47 +01:00
Anna Kozlova 3d96977c2c unreachable code: qualified fields and array access in assignments (IDEA-144428) 2015-08-28 18:33:15 +03:00
Anna Kozlova 67bfb2b357 inline local with rename conflicts inside lambda (IDEA-143340) 2015-08-18 12:34:35 +02:00
anna 02a4914ff4 inline with flatten array creation: do not loose leading comment (IDEA-112161) 2013-10-23 16:31:30 +02:00
Anna Kozlova 95ae5e69db inline: unwrap try-with-resources if no resources left after inline (IDEA-109541) 2013-06-25 20:15:28 +04:00
Anna Kozlova 2e36ae1088 allow to inline array definition when accessExpression is used for write; exclude new expressions 2013-06-20 21:16:00 +04:00
anna 55d981e071 inline: fix qualifier which is inserted to specify type params after inline (IDEA-104536) 2013-04-10 21:34:01 +02:00
anna c66e1c07b8 inline: do not insert casts when inline conditional expression in statements (IDEA-97902) 2012-12-27 20:14:17 +01:00
anna 53df678ed7 inline: insert cast in foreach stmts when var/initializer was casted with explicit cast conversion (IDEA-73501) 2012-11-05 15:24:38 +01:00
anna 7d4be5d223 surround lambda/method refs with cast when inline in expression list (IDEA-92742) 2012-10-10 17:19:44 +02:00
anna 6e0e9009df method ref: hide spaces around dbl colon by default 2012-09-27 12:26:00 +02:00
anna 9c4f5ddb11 method refs: test data fixed according to code style 2012-09-26 20:37:21 +02:00
anna 97b9fbee9a method ref: inline method ref in qualifier place; do not treat cast as redundant there 2012-09-25 19:47:02 +02:00
anna 2b84533a1f inline: discard inline of variable with initializer in try/catch (IDEA-90390) 2012-09-25 09:38:33 +02:00
Anna Kozlova a9d8837b82 inline: try to insert cast when conditional expr is inlined (IDEA-91288) 2012-09-13 22:11:29 +04:00
Anna Kozlova 2bdd122955 IDEA-91371 2012-09-12 17:53:29 +04:00
Anna Kozlova 2c5beb00d0 IDEA-91421 2012-09-12 17:53:28 +04:00
Anna Kozlova 9ddff21a9c inline inside lambda body (IDEA-91371) 2012-09-12 00:03:41 +04:00
Anna Kozlova 7a15a26cf2 lambda: correct control flow for lambda body (IDEA-91061) 2012-09-06 14:59:43 +04:00
Anna Kozlova 25456a1938 lambda: add cast if lambda var was inlined in ref expression (IDEA-90879) 2012-09-03 18:27:52 +04:00
Anna Kozlova 4580e8da2a allow to inline array index expression (IDEA-90740) 2012-08-30 13:38:51 +04:00
anna 445fe5c251 lambda: inline lambda initialized vars 2012-07-24 17:51:53 +02:00
Anna Kozlova c36419f867 inline: warn if assignment with operation (IDEA-80348) 2012-01-27 21:47:55 +04:00
Anna Kozlova 608afc659e IDEA-79290 Inline Local Variable does not qualify accesses to obscured types 2012-01-25 15:26:11 +04:00
anna afd90a6695 replace diamond with type on inline when after inline diamond won't be inferred (IDEA-66142) 2011-03-08 11:27:13 +01:00
anna a6e6122719 inline: find this ref corresponding to static imports (IDEA-64508) 2011-01-24 18:39:41 +01:00
anna 12fa2254f7 inline: choose top level inner class to control flow (IDEA-57027) 2010-08-05 15:54:23 +04:00
anna d2576e4aea inline: do not warn about non existing write usages 2010-06-24 13:45:18 +04:00
anna 5b61215773 testdata fixed 2010-06-09 18:04:30 +04:00
irengrig 6c796f35e7 Merge branch 'master' of git.labs.intellij.net:idea/community 2010-06-08 16:56:28 +04:00
anna feda077bb7 inline variable: captured wildcard != wildcard so isAssignable should be used in order to avoid redundant class casts (IDEA-27243); though isAssignable can't replace equals as for primitive types cast can change expr semantics, e.g. (float)intVar1/intVar2 2010-06-03 12:39:37 +04:00
anna 6dd60065a9 inline: support for {} array initializer signature (IDEADEV-40588) 2009-10-06 19:59:55 +04:00
Dmitry Jemerov b43c03ca2f moving tests 2009-09-10 19:49:38 +04:00