mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 04:45:20 +07:00
IDEA-218658 GitOrigin-RevId: f40a346285633828feea3a1b08513e50413aab61
17 lines
209 B
Java
17 lines
209 B
Java
enum E {
|
|
A(new Bar().foo(), 1);
|
|
|
|
E(String s, int num) {
|
|
this.s = s;
|
|
this.num = num;
|
|
}
|
|
|
|
private final String s;
|
|
private final int num;
|
|
}
|
|
|
|
class Bar {
|
|
String foo() {
|
|
return "hello";
|
|
}
|
|
} |