create enum: add implements list if needed (IDEA-93141)

This commit is contained in:
anna
2013-01-04 16:00:24 +01:00
parent 22ca4efb4f
commit a7fb7f9f54
3 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
// "Create Enum 'Foo'" "true"
public class Test {
void f(I i) {}
{
f(Foo.CONST);
}
}
interface I {}
public enum Foo implements I {}

View File

@@ -0,0 +1,9 @@
// "Create Enum 'Foo'" "true"
public class Test {
void f(I i) {}
{
f(Fo<caret>o.CONST);
}
}
interface I {}