Function literal expression outside the parentheses wrapped into JetFunctionLiteralArgument

Extracted JetFunctionLiteralArgument.moveInsideParenthesesAndReplaceWith util function
This commit is contained in:
Svetlana Isakova
2014-07-12 20:03:38 +04:00
parent 4477a96ca7
commit 2ae87cae4a
59 changed files with 1040 additions and 912 deletions
@@ -3616,6 +3616,16 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
doTest("idea/testData/intentions/moveLambdaInsideParentheses/inapplicable2.kt");
}
@TestMetadata("moveLabeledLambda1.kt")
public void testMoveLabeledLambda1() throws Exception {
doTest("idea/testData/intentions/moveLambdaInsideParentheses/moveLabeledLambda1.kt");
}
@TestMetadata("moveLabeledLambda2.kt")
public void testMoveLabeledLambda2() throws Exception {
doTest("idea/testData/intentions/moveLambdaInsideParentheses/moveLabeledLambda2.kt");
}
@TestMetadata("moveLambda1.kt")
public void testMoveLambda1() throws Exception {
doTest("idea/testData/intentions/moveLambdaInsideParentheses/moveLambda1.kt");