mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 20:25:27 +00:00
11 lines
233 B
Java
11 lines
233 B
Java
//skip compare contents
|
|
import lombok.ToString;
|
|
|
|
@ToString(of = ToStringWithConstantRefInOf.FIELD_NAME)
|
|
public class ToStringWithConstantRefInOf {
|
|
static final String FIELD_NAME = "id";
|
|
private String id;
|
|
private int whatever;
|
|
}
|
|
|