mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
lambda: create method from usage with lambda arg (IDEA-90957)
This commit is contained in:
+10
@@ -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>
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create Method 'f'" "true"
|
||||
class A {
|
||||
{
|
||||
f<caret>(() -> {});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user