java 9: hide inappropriate for interface modifier suggestions, ensure valid combination of modifiers (IDEA-171091)

This commit is contained in:
Anna.Kozlova
2017-04-07 18:20:18 +02:00
parent 229ff01656
commit 32073ed7f9
5 changed files with 75 additions and 5 deletions
@@ -0,0 +1,10 @@
// "Make 'I.foo' public" "true"
interface I {
default void foo() { }
}
class A implements I {
{
this.foo();
}
}
@@ -0,0 +1,10 @@
// "Make 'I.foo' public" "true"
interface I {
private void foo() { }
}
class A implements I {
{
this.fo<caret>o();
}
}