mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
19 lines
250 B
Java
19 lines
250 B
Java
// "Create Enum Constant 'D3'" "true"
|
|
public enum Demo {
|
|
|
|
D1("foo"),
|
|
D2("bar");
|
|
private String name;
|
|
|
|
Demo(String name) {
|
|
|
|
this.name = name;
|
|
}
|
|
}
|
|
|
|
class Show {
|
|
|
|
public void doSomething() {
|
|
Demo.D<caret>3
|
|
}
|
|
} |