blob: 29e7dc911870ce9257447ac9f4fa50571af1a637 (
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
|
class ToStringOuter {
final int x;
String name;
class ToStringInner {
final int y;
@java.lang.Override
public java.lang.String toString() {
return "ToStringOuter.ToStringInner(y=" + y + ")";
}
}
static class ToStringStaticInner {
final int y;
@java.lang.Override
public java.lang.String toString() {
return "ToStringOuter.ToStringStaticInner(y=" + y + ")";
}
}
class ToStringMiddle {
class ToStringMoreInner {
final String name;
@java.lang.Override
public java.lang.String toString() {
return "ToStringOuter.ToStringMiddle.ToStringMoreInner(name=" + name + ")";
}
}
}
@java.lang.Override
public java.lang.String toString() {
return "ToStringOuter(x=" + x + ", name=" + name + ")";
}
}
|