lambda: create method from usage with lambda arg (IDEA-90957)

This commit is contained in:
Anna Kozlova
2012-09-03 17:48:37 +04:00
parent d71e11473a
commit f324594bc3
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
// "Create Method 'f'" "true"
class A {
{
f(() -> {});
}
private void f(Object p0) {
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
}
}

View File

@@ -0,0 +1,6 @@
// "Create Method 'f'" "true"
class A {
{
f<caret>(() -> {});
}
}