[documentation] documenting the new-style include/exclude of ToString and EqualsAndHashCode

This commit is contained in:
Reinier Zwitserloot committed 2018-05-15 01:07:03 +02:00
1 parent 649a7b72bf
commit 4fb9c6f7f8
5 files changed
+24 -15

No files matched your search

@@ -1,12 +1,12 @@
import lombok.ToString;
@ToString(exclude="id")
@ToString
public class ToStringExample {
private static final int STATIC_VAR = 10;
private String name;
private Shape shape = new Square(5, 10);
private String[] tags;
private int id;
@ToString.Exclude private int id;
public String getName() {
return this.name;