mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-01 08:21:01 +00:00
21 lines
633 B
Java
21 lines
633 B
Java
import lombok.ToString;
|
|
public @ToString class ToStringNewStyle {
|
|
@ToString.Include(name = "a") int b;
|
|
double c;
|
|
int f;
|
|
@ToString.Include(name = "e") int d;
|
|
int g;
|
|
@ToString.Include(rank = (- 1)) int h;
|
|
int i;
|
|
@ToString.Exclude int j;
|
|
public ToStringNewStyle() {
|
|
super();
|
|
}
|
|
@ToString.Include int f() {
|
|
return 0;
|
|
}
|
|
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
|
return (((((((((((((("ToStringNewStyle(a=" + this.b) + ", c=") + this.c) + ", e=") + this.d) + ", f=") + this.f()) + ", g=") + this.g) + ", i=") + this.i) + ", h=") + this.h) + ")");
|
|
}
|
|
}
|