Light classes: generate ACC_STATIC for DefaultImpls classes

To provide consistency between light classes and their delegates

IdeLightClass#testExtendingInterfaceWithDefaultImpls still failing since
    we do not generate implementations delegating to DefaultImpls of superinterfaces
This commit is contained in:
Pavel V. Talanov
2017-04-05 16:19:55 +03:00
parent 5e351061e8
commit 32d3a1b4c9
4 changed files with 7 additions and 5 deletions

View File

@@ -2,11 +2,11 @@ public interface B extends p.A {
@org.jetbrains.annotations.NotNull
java.lang.String b();
final class DefaultImpls {
static final class DefaultImpls {
@org.jetbrains.annotations.NotNull
public static java.lang.String b(p.B $this) { /* compiled code */ }
@org.jetbrains.annotations.NotNull
public static java.lang.String a(p.B $this) { /* compiled code */ }
}
}
}