blob: 2299e69da5aa78bb5af3f196feb95b01f75d7d8c (
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.beans.ConstructorProperties({"id", "name"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") GetterEnum(final int id, final String name) {
super();
this.id = id;
this.name = name;
}
}
|