mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-05 08:17:35 +00:00
The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Setter;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@Data public class DataExample {
|
||||
private final String name;
|
||||
@Setter(AccessLevel.PACKAGE) private int age;
|
||||
private double score;
|
||||
private String[] tags;
|
||||
|
||||
@ToString(includeFieldNames=true)
|
||||
@Data(staticConstructor="of")
|
||||
public static class Exercise<T> {
|
||||
private final String name;
|
||||
private final T value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user