blob: fe77fcfda1d744a4e066f310ff9ea4f4a77757ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
class ToStringOuter {
int x;
String name;
class ToStringInner {
int y;
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ToStringOuter.ToStringInner(y=" + this.y + ")";
}
}
static class ToStringStaticInner {
int y;
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ToStringOuter.ToStringStaticInner(y=" + this.y + ")";
}
}
class ToStringMiddle {
class ToStringMoreInner {
String name;
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ToStringOuter.ToStringMiddle.ToStringMoreInner(name=" + this.name + ")";
}
}
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ToStringOuter(x=" + this.x + ", name=" + this.name + ")";
}
}
|