blob: 3c6e6e0ca79c7af67c00acc53d1e68ab0ef96332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
enum GetterEnum {
ONE(1, "One");
private final int id;
private final String name;
@java.lang.SuppressWarnings("all")
private GetterEnum(final int id, final String name) {
this.id = id;
this.name = name;
}
@java.lang.SuppressWarnings("all")
public int getId() {
return this.id;
}
@java.lang.SuppressWarnings("all")
public String getName() {
return this.name;
}
}
|