01: package test;
02:
03: public class SemanticInnerClasses {
04:
05: /** Creates a new instance of SemanticInnerClasses */
06: public SemanticInnerClasses() {
07: new Inner2();
08: Inner3.create();
09: new Inner5();
10: }
11:
12: private static class Inner1 {
13: public Inner1() {
14:
15: }
16:
17: public static void create() {
18:
19: }
20: }
21:
22: private static class Inner2 {
23: public Inner2() {
24:
25: }
26: }
27:
28: private static class Inner3 {
29: public static void create() {
30:
31: }
32: }
33:
34: private class Inner4 {
35: public Inner4() {
36:
37: }
38: }
39:
40: private class Inner5 {
41: public Inner5() {
42:
43: }
44: }
45:
46: class Inner6 {
47:
48: }
49: }
|