mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
12 lines
375 B
Java
12 lines
375 B
Java
interface I {
|
|
static <Z> void foo() { }
|
|
}
|
|
|
|
class A implements I {
|
|
{
|
|
System.out.println(A./*c1*/<error descr="Static method may be invoked on containing interface class only">foo</error>());
|
|
Runnable r = <error descr="Static method may be invoked on containing interface class only">A/*c2*/::<String>foo</error>;
|
|
System.out.println(r);
|
|
}
|
|
}
|