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