blob: fd70ce9ed8741d7e77693c44fed8090755270a60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor(access = AccessLevel.PRIVATE) enum GetterEnum {
ONE(1, "One"),
private final @Getter int id;
private final @Getter String name;
<clinit>() {
}
public @java.lang.SuppressWarnings("all") int getId() {
return this.id;
}
public @java.lang.SuppressWarnings("all") String getName() {
return this.name;
}
private @java.lang.SuppressWarnings("all") GetterEnum(final int id, final String name) {
super();
this.id = id;
this.name = name;
}
}
|