mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
create enum: add implements list if needed (IDEA-93141)
This commit is contained in:
@@ -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 {}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Create Enum 'Foo'" "true"
|
||||
public class Test {
|
||||
void f(I i) {}
|
||||
{
|
||||
f(Fo<caret>o.CONST);
|
||||
}
|
||||
}
|
||||
|
||||
interface I {}
|
||||
Reference in New Issue
Block a user