mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 01:06:54 +07:00
14 lines
564 B
Java
14 lines
564 B
Java
class Test {
|
|
interface I {
|
|
<error descr="Extension methods are not supported at this language level">static void foo() {}</error>
|
|
}
|
|
|
|
abstract class IImpl implements I {}
|
|
interface I2 extends I {}
|
|
|
|
{
|
|
<error descr="Static interface method invocations are not supported at this language level">I.foo();</error>
|
|
<error descr="Static interface method invocations are not supported at this language level">IImpl.foo();</error>
|
|
<error descr="Static interface method invocations are not supported at this language level">I2.foo();</error>
|
|
}
|
|
} |