mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-13 00:33:59 +07:00
lambda: create method from usage with lambda arg (IDEA-90957)
This commit is contained in:
1 parent
d71e11473a
commit
f324594bc3
3 files changed
+17
-1
No files matched your search
+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