blob: 3536a6e82fc04c7bab2e2e826fb0f56dcae474b2 (
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>() {
}
private @java.lang.SuppressWarnings("all") GetterEnum(final int id, final String name) {
super();
this.id = id;
this.name = name;
}
public @java.lang.SuppressWarnings("all") int getId() {
return this.id;
}
public @java.lang.SuppressWarnings("all") String getName() {
return this.name;
}
}
|