java completion: don't suggest inacessible method/constructor references (IDEA-182311)

This commit is contained in:
peter
2018-01-03 16:12:19 +01:00
parent 76f23b6a7d
commit f79c0a63d2
3 changed files with 26 additions and 8 deletions
@@ -0,0 +1,12 @@
import java.util.function.Supplier;
class RefMain1 {
{
Supplier<Foo> s = <caret>
}
}
class Foo {
private Foo() {
}
}