mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
multi-module setup: ensure access to static method from base class available only through mediate class is marked as error (IDEA-91904)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package p;
|
||||
|
||||
class Sample {
|
||||
public static void main(String[] args) {
|
||||
ChildClass.<error descr="Cannot resolve method 'foo()'">foo</error>();
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package p;
|
||||
|
||||
public class ChildClass extends BaseClass {}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
|
||||
public class BaseClass {
|
||||
public static void foo() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user