blob: 6bb4547a32e57b5d9789d00b0a233465f42038ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package test2;
@SuppressWarnings("unused")
public class Nested {
private int i = 3;
private int geti() { return i; }
private static int getj(int k) { return k; }
public void seti(int i) { this.i = i; }
public class Inner {
public int geti() { return i; }
public void foo(Inner2 in) {}
}
public class Inner2 {
public int geti() { return i; }
}
public static class Inner3 {
public int f() { return 1; }
public static int g() { return 1; }
}
}
|