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