mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
interface static methods in method refs by subclass error (IDEA-187330)
This commit is contained in:
+2
-2
@@ -4,8 +4,8 @@ interface I {
|
||||
|
||||
class A implements I {
|
||||
{
|
||||
System.out.println(A./*c1*/foo());
|
||||
Runnable r = A/*c2*/::<String>foo;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user