IDEA-161034 Code completion should be provided for static method references too

This commit is contained in:
peter
2016-09-13 17:55:44 +02:00
parent 5545fdc955
commit 7de306e76b
4 changed files with 82 additions and 27 deletions
@@ -0,0 +1,11 @@
import java.util.stream.Stream;
class Example {
private void example(Stream<String> s) {
s.map(Example::method2)<caret>
}
private static String method2(String s) {
return s;
}
}
@@ -0,0 +1,11 @@
import java.util.stream.Stream;
class Example {
private void example(Stream<String> s) {
s.map(meth<caret>)
}
private static String method2(String s) {
return s;
}
}