highlight enum constant name when its body should contain some implementation (IDEA-98411)

This commit is contained in:
Anna Kozlova
2013-01-02 11:41:23 +01:00
parent 1d6bdcc3bd
commit 782320dcd0
2 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
<error descr="Modifier 'abstract' not allowed here">abstract</error> enum OurEnum {
A <error descr="Class 'Anonymous class derived from OurEnum' must implement abstract method 'foo()' in 'OurEnum'">{</error>
<error descr="Class 'Anonymous class derived from OurEnum' must implement abstract method 'foo()' in 'OurEnum'">A</error> {
},
<error descr="'OurEnum' is abstract; cannot be instantiated">B</error>,
C {
@@ -12,7 +12,7 @@
enum xxx {
<error descr="'xxx' is abstract; cannot be instantiated">X</error>,
Y <error descr="Class 'Anonymous class derived from xxx' must implement abstract method 'f()' in 'xxx'">{</error>
<error descr="Class 'Anonymous class derived from xxx' must implement abstract method 'f()' in 'xxx'">Y</error> {
};
abstract void f();