blob: ff5f6bf06f275c521e67ca69b7d7a4e0782dee20 (
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
|
class outer$inner
{
};
public class PR35020
{
class PR35020$Inner
{
};
class inner
{
}
public static void main(String[] args)
{
System.out.println(inner.class.getSimpleName());
System.out.println(PR35020.class.getSimpleName());
System.out.println(Class.class.getSimpleName());
System.out.println((new int[7]).getClass().getSimpleName());
System.out.println((new Object[1][1][1][1][1][1][1][1]).getClass().getSimpleName());
System.out.println((new java.security.PrivilegedAction()
{
public Object run() {
return null;
}
}).getClass().getSimpleName());
System.out.println(PR35020$Inner.class.getSimpleName());
System.out.println(outer$inner.class.getSimpleName());
System.out.println(outer$inner.inner.class.getSimpleName());
}
}
|