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