mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
inline method to method reference: convert to lambda (IDEA-148481)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class Test {
|
||||
{
|
||||
Supplier<String> sup = this::g<caret>et;
|
||||
}
|
||||
|
||||
private String get() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user