mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java highlighting tests moved to community
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
// cyclic inhertiance
|
||||
import java.io.*;
|
||||
import java.net.*;
|
||||
|
||||
<error descr="Cyclic inheritance involving 'Foo'">class Foo extends Foo</error> {
|
||||
}
|
||||
|
||||
|
||||
interface Foo1 extends <error descr="Cannot resolve symbol 'Bar'">Bar</error> {
|
||||
interface Bar {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
<error descr="Cyclic inheritance involving 'c1'">class c1 extends c2</error> {}
|
||||
<error descr="Cyclic inheritance involving 'c2'">class c2 extends c1</error> {}
|
||||
|
||||
|
||||
|
||||
class a1 {
|
||||
class b extends a1 {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class a {
|
||||
static class sb extends a {
|
||||
class c extends a {
|
||||
void f() {
|
||||
class d extends a {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
class b extends sb {
|
||||
class c extends a {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user