blob: 272a2ee69c19fc4fd4ceafc35a29522f0f41abd8 (
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;
}
}
|