mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
java highlighting tests moved to community
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// Qualified new of static class
|
||||
|
||||
class A {
|
||||
b b;
|
||||
A() {
|
||||
<error descr="Qualified new of static class">b.new c()</error>;
|
||||
b.new inner();
|
||||
}
|
||||
class inner {}
|
||||
|
||||
void f() {
|
||||
char[] c = <error descr="Invalid qualified new">b.new char[0]</error>;
|
||||
}
|
||||
}
|
||||
|
||||
class b extends A {
|
||||
static class c {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user