mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
move instance method with method ref: ensure qualifier is not deleted
IDEA-181919
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class Source {
|
||||
public void f<caret>oo(Destination destination) {
|
||||
Consumer<String> doSomething = destination::doSomething;
|
||||
}
|
||||
}
|
||||
|
||||
class Destination {
|
||||
public void doSomething(String s) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user