mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
java highlighting tests moved to community
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package x;
|
||||
public class A extends D{
|
||||
int k;
|
||||
static void staticF() {}
|
||||
}
|
||||
class C extends x.sub.B {
|
||||
int n=<error descr="'k' is not public in 'x.A'. Cannot be accessed from outside package">k</error>;
|
||||
|
||||
// can call despite inherited through package local from other package
|
||||
void f() { A.staticF(); }
|
||||
}
|
||||
|
||||
class D{
|
||||
public void foo(){}
|
||||
}
|
||||
Reference in New Issue
Block a user