Commit Graph
30 Commits
Author SHA1 Message Date
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