mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
implement methods in enum from super interface (IDEA-106310)
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ interface Barz {
|
||||
}
|
||||
|
||||
enum Fooz implements Barz {
|
||||
<error descr="Class 'Fooz' must either be declared abstract or implement abstract method 'baz()' in 'Barz'">FOO</error>;
|
||||
<error descr="Class 'Fooz' must implement abstract method 'baz()' in 'Barz'">FOO</error>;
|
||||
}
|
||||
|
||||
///////////////////////
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Implement Methods" "true"
|
||||
interface Card {
|
||||
void play();
|
||||
}
|
||||
|
||||
enum E implements Card {
|
||||
A<caret>
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Implement Methods" "true"
|
||||
interface Card {
|
||||
void play();
|
||||
}
|
||||
|
||||
enum E implements Card {
|
||||
A<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user