summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/p1/P1Statics.java
blob: 105829f49857b21124038a748230d5179bd252d4 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
package p1;
public class P1Statics {

    public static Integer I = new Integer(1 +1);
    public static byte    b = (byte)      1 +1 ;
    public static short   s = (short)     1 +1 ;
    public static int     i = (int)       1 +1 ;
    public static long    l = (long)      1 +1 ;
    public static float   f = (float)     1 +1 ;
    public static double  d = (double)    1 +1 ;
    public static char    c = (char)     '1'+1 ;

    public static class NestedStaticClass {

        public static Integer I = new Integer(2 +1);
        public static byte    b = (byte)      2 +1 ;
        public static short   s = (short)     2 +1 ;
        public static int     i = (int)       2 +1 ;
        public static long    l = (long)      2 +1 ;
        public static float   f = (float)     2 +1 ;
        public static double  d = (double)    2 +1 ;
        public static char    c = (char)     '2'+1 ;

        public static class InnerStaticClass {
            public static Integer I = new Integer(3 +1);
            public static byte    b = (byte)      3 +1 ;
            public static short   s = (short)     3 +1 ;
            public static int     i = (int)       3 +1 ;
            public static long    l = (long)      3 +1 ;
            public static float   f = (float)     3 +1 ;
            public static double  d = (double)    3 +1 ;
            public static char    c = (char)     '3'+1 ;
        }

        public static interface InnerStaticInterface {
            public static Integer I = new Integer(4 +1);
            public static byte    b = (byte)      4 +1 ;
            public static short   s = (short)     4 +1 ;
            public static int     i = (int)       4 +1 ;
            public static long    l = (long)      4 +1 ;
            public static float   f = (float)     4 +1 ;
            public static double  d = (double)    4 +1 ;
            public static char    c = (char)     '4'+1 ;
        }

        public interface InnerInterface {
            public static Integer I = new Integer(5 +1);
            public static byte    b = (byte)      5 +1 ;
            public static short   s = (short)     5 +1 ;
            public static int     i = (int)       5 +1 ;
            public static long    l = (long)      5 +1 ;
            public static float   f = (float)     5 +1 ;
            public static double  d = (double)    5 +1 ;
            public static char    c = (char)     '5'+1 ;
        }

        public static interface InnerStaticInterfaceNoStatics {
            public Integer I = new Integer(6 +1);
            public byte    b = (byte)      6 +1 ;
            public short   s = (short)     6 +1 ;
            public int     i = (int)       6 +1 ;
            public long    l = (long)      6 +1 ;
            public float   f = (float)     6 +1 ;
            public double  d = (double)    6 +1 ;
            public char    c = (char)     '6'+1 ;
        }

        public interface InnerInterfaceNoStatics {
            public Integer I = new Integer(7 +1);
            public byte    b = (byte)      7 +1 ;
            public short   s = (short)     7 +1 ;
            public int     i = (int)       7 +1 ;
            public long    l = (long)      7 +1 ;
            public float   f = (float)     7 +1 ;
            public double  d = (double)    7 +1 ;
            public char    c = (char)     '7'+1 ;
        }
    }

    public static interface NestedStaticInterface {

        public static Integer I = new Integer(2 +11);
        public static byte    b = (byte)      2 +11 ;
        public static short   s = (short)     2 +11 ;
        public static int     i = (int)       2 +11 ;
        public static long    l = (long)      2 +11 ;
        public static float   f = (float)     2 +11 ;
        public static double  d = (double)    2 +11 ;
        public static char    c = (char)     '2'+11 ;

        public static class InnerStaticClass {
            public static Integer I = new Integer(3 +11);
            public static byte    b = (byte)      3 +11 ;
            public static short   s = (short)     3 +11 ;
            public static int     i = (int)       3 +11 ;
            public static long    l = (long)      3 +11 ;
            public static float   f = (float)     3 +11 ;
            public static double  d = (double)    3 +11 ;
            public static char    c = (char)     '3'+11 ;
        }

        public static interface InnerStaticInterface {
            public static Integer I = new Integer(4 +11);
            public static byte    b = (byte)      4 +11 ;
            public static short   s = (short)     4 +11 ;
            public static int     i = (int)       4 +11 ;
            public static long    l = (long)      4 +11 ;
            public static float   f = (float)     4 +11 ;
            public static double  d = (double)    4 +11 ;
            public static char    c = (char)     '4'+11 ;
        }

        public interface InnerInterface {
            public static Integer I = new Integer(5 +11);
            public static byte    b = (byte)      5 +11 ;
            public static short   s = (short)     5 +11 ;
            public static int     i = (int)       5 +11 ;
            public static long    l = (long)      5 +11 ;
            public static float   f = (float)     5 +11 ;
            public static double  d = (double)    5 +11 ;
            public static char    c = (char)     '5'+11 ;
        }

        public static interface InnerStaticInterfaceNoStatics {
            public Integer I = new Integer(6 +11);
            public byte    b = (byte)      6 +11 ;
            public short   s = (short)     6 +11 ;
            public int     i = (int)       6 +11 ;
            public long    l = (long)      6 +11 ;
            public float   f = (float)     6 +11 ;
            public double  d = (double)    6 +11 ;
            public char    c = (char)     '6'+11 ;
        }

        public interface InnerInterfaceNoStatics {
            public Integer I = new Integer(7 +11);
            public byte    b = (byte)      7 +11 ;
            public short   s = (short)     7 +11 ;
            public int     i = (int)       7 +11 ;
            public long    l = (long)      7 +11 ;
            public float   f = (float)     7 +11 ;
            public double  d = (double)    7 +11 ;
            public char    c = (char)     '7'+11 ;
        }
    }

    public interface NestedInterface {

        public static Integer I = new Integer(2 +21);
        public static byte    b = (byte)      2 +21 ;
        public static short   s = (short)     2 +21 ;
        public static int     i = (int)       2 +21 ;
        public static long    l = (long)      2 +21 ;
        public static float   f = (float)     2 +21 ;
        public static double  d = (double)    2 +21 ;
        public static char    c = (char)     '2'+21 ;

        public static class InnerStaticClass {
            public static Integer I = new Integer(3 +21);
            public static byte    b = (byte)      3 +21 ;
            public static short   s = (short)     3 +21 ;
            public static int     i = (int)       3 +21 ;
            public static long    l = (long)      3 +21 ;
            public static float   f = (float)     3 +21 ;
            public static double  d = (double)    3 +21 ;
            public static char    c = (char)     '3'+21 ;
        }

        public static interface InnerStaticInterface {
            public static Integer I = new Integer(4 +21);
            public static byte    b = (byte)      4 +21 ;
            public static short   s = (short)     4 +21 ;
            public static int     i = (int)       4 +21 ;
            public static long    l = (long)      4 +21 ;
            public static float   f = (float)     4 +21 ;
            public static double  d = (double)    4 +21 ;
            public static char    c = (char)     '4'+21 ;
        }

        public interface InnerInterface {
            public static Integer I = new Integer(5 +21);
            public static byte    b = (byte)      5 +21 ;
            public static short   s = (short)     5 +21 ;
            public static int     i = (int)       5 +21 ;
            public static long    l = (long)      5 +21 ;
            public static float   f = (float)     5 +21 ;
            public static double  d = (double)    5 +21 ;
            public static char    c = (char)     '5'+21 ;
        }

        public static interface InnerStaticInterfaceNoStatics {
            public Integer I = new Integer(6 +21);
            public byte    b = (byte)      6 +21 ;
            public short   s = (short)     6 +21 ;
            public int     i = (int)       6 +21 ;
            public long    l = (long)      6 +21 ;
            public float   f = (float)     6 +21 ;
            public double  d = (double)    6 +21 ;
            public char    c = (char)     '6'+21 ;
        }

        public interface InnerInterfaceNoStatics {
            public Integer I = new Integer(7 +21);
            public byte    b = (byte)      7 +21 ;
            public short   s = (short)     7 +21 ;
            public int     i = (int)       7 +21 ;
            public long    l = (long)      7 +21 ;
            public float   f = (float)     7 +21 ;
            public double  d = (double)    7 +21 ;
            public char    c = (char)     '7'+21 ;
        }
    }    
}