mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
14 lines
256 B
Java
14 lines
256 B
Java
interface Super
|
|
{
|
|
default void method()
|
|
{
|
|
System.out.println("Super.method()");
|
|
}
|
|
}
|
|
|
|
interface Sub extends Super {
|
|
static void foo() {
|
|
<error descr="'Super' is not an enclosing class">Super.super</error>.method();
|
|
}
|
|
}
|