blob: 775f82ed795bf0ae8c1ea366ac193f1c6c7afd65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import lombok.AccessLevel;
import lombok.Setter;
import lombok.Data;
public @Data class DataExample {
private final String name;
private @Setter(AccessLevel.PACKAGE) int age;
private double score;
private String[] tags;
public static @Data(staticConstructor="of") class Exercise<T> {
private final String name;
private final T value;
}
}
|