java completion: prefer lambdas over method references (IDEA-181662)

This commit is contained in:
peter
2017-11-07 21:51:31 +01:00
parent 55d30a4354
commit 76641748e0
4 changed files with 15 additions and 2 deletions
@@ -0,0 +1,7 @@
import java.util.*;
class Foo {
{
Optional.of(2).orElseThrow(<caret>)
}
}