java highlighting tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 12:46:38 +04:00
parent 7ec040c1ec
commit 735a9d17a8
243 changed files with 22082 additions and 0 deletions
@@ -0,0 +1,17 @@
class Y {
int size = 4;
}
class Z extends Y {
class I {
void foo() {
System.out.println("size = " + <error descr="'Y' is not an enclosing class">Y.this</error>.size); // illegal construct
}
}
}
class R {
public void smu() {
System.out.println(<error descr="'Z' is not an enclosing class">Z.super</error>.toString());
}
}