|
1 | | -{ '@type': "CompilationUnit", |
| 1 | +{ '@type': "java:CompilationUnit", |
2 | 2 | '@role': [File], |
3 | 3 | '@pos': { '@type': "uast:Positions", |
4 | 4 | start: { '@type': "uast:Position", |
|
14 | 14 | imports: ~, |
15 | 15 | package: ~, |
16 | 16 | types: [ |
17 | | - { '@type': "TypeDeclaration", |
| 17 | + { '@type': "java:TypeDeclaration", |
18 | 18 | '@role': [Declaration, Package, Type, Visibility], |
19 | 19 | '@pos': { '@type': "uast:Positions", |
20 | 20 | start: { '@type': "uast:Position", |
|
76 | 76 | }, |
77 | 77 | }, |
78 | 78 | Statements: [ |
79 | | - { '@type': "VariableDeclarationStatement", |
| 79 | + { '@type': "java:VariableDeclarationStatement", |
80 | 80 | '@role': [Declaration, Statement, Variable], |
81 | 81 | '@pos': { '@type': "uast:Positions", |
82 | 82 | start: { '@type': "uast:Position", |
|
91 | 91 | }, |
92 | 92 | }, |
93 | 93 | fragments: [ |
94 | | - { '@type': "VariableDeclarationFragment", |
| 94 | + { '@type': "java:VariableDeclarationFragment", |
95 | 95 | '@role': [Declaration, Variable], |
96 | 96 | '@pos': { '@type': "uast:Positions", |
97 | 97 | start: { '@type': "uast:Position", |
|
106 | 106 | }, |
107 | 107 | }, |
108 | 108 | 'extraDimensions2': ~, |
109 | | - initializer: { '@type': "ArrayCreation", |
| 109 | + initializer: { '@type': "java:ArrayCreation", |
110 | 110 | '@role': [Expression, Incomplete], |
111 | 111 | '@pos': { '@type': "uast:Positions", |
112 | 112 | start: { '@type': "uast:Position", |
|
121 | 121 | }, |
122 | 122 | }, |
123 | 123 | dimensions: [ |
124 | | - { '@type': "NumberLiteral", |
| 124 | + { '@type': "java:NumberLiteral", |
125 | 125 | '@role': [Expression, Literal, Number], |
126 | 126 | '@pos': { '@type': "uast:Positions", |
127 | 127 | start: { '@type': "uast:Position", |
|
139 | 139 | }, |
140 | 140 | ], |
141 | 141 | initializer: ~, |
142 | | - type: { '@type': "ArrayType", |
| 142 | + type: { '@type': "java:ArrayType", |
143 | 143 | '@role': [List, Primitive, Type], |
144 | 144 | '@pos': { '@type': "uast:Positions", |
145 | 145 | start: { '@type': "uast:Position", |
|
154 | 154 | }, |
155 | 155 | }, |
156 | 156 | dimensions: [ |
157 | | - { '@type': "Dimension", |
| 157 | + { '@type': "java:Dimension", |
158 | 158 | '@role': [Incomplete, Type], |
159 | 159 | '@pos': { '@type': "uast:Positions", |
160 | 160 | start: { '@type': "uast:Position", |
|
171 | 171 | annotations: ~, |
172 | 172 | }, |
173 | 173 | ], |
174 | | - elementType: { '@type': "PrimitiveType", |
| 174 | + elementType: { '@type': "java:PrimitiveType", |
175 | 175 | '@token': "int", |
176 | 176 | '@role': [Number, Primitive, Type], |
177 | 177 | '@pos': { '@type': "uast:Positions", |
|
208 | 208 | }, |
209 | 209 | ], |
210 | 210 | modifiers: ~, |
211 | | - type: { '@type': "ArrayType", |
| 211 | + type: { '@type': "java:ArrayType", |
212 | 212 | '@role': [List, Primitive, Type], |
213 | 213 | '@pos': { '@type': "uast:Positions", |
214 | 214 | start: { '@type': "uast:Position", |
|
223 | 223 | }, |
224 | 224 | }, |
225 | 225 | dimensions: [ |
226 | | - { '@type': "Dimension", |
| 226 | + { '@type': "java:Dimension", |
227 | 227 | '@role': [Incomplete, Type], |
228 | 228 | '@pos': { '@type': "uast:Positions", |
229 | 229 | start: { '@type': "uast:Position", |
|
240 | 240 | annotations: ~, |
241 | 241 | }, |
242 | 242 | ], |
243 | | - elementType: { '@type': "PrimitiveType", |
| 243 | + elementType: { '@type': "java:PrimitiveType", |
244 | 244 | '@token': "int", |
245 | 245 | '@role': [Number, Primitive, Type], |
246 | 246 | '@pos': { '@type': "uast:Positions", |
|
259 | 259 | }, |
260 | 260 | }, |
261 | 261 | }, |
262 | | - { '@type': "VariableDeclarationStatement", |
| 262 | + { '@type': "java:VariableDeclarationStatement", |
263 | 263 | '@role': [Declaration, Statement, Variable], |
264 | 264 | '@pos': { '@type': "uast:Positions", |
265 | 265 | start: { '@type': "uast:Position", |
|
274 | 274 | }, |
275 | 275 | }, |
276 | 276 | fragments: [ |
277 | | - { '@type': "VariableDeclarationFragment", |
| 277 | + { '@type': "java:VariableDeclarationFragment", |
278 | 278 | '@role': [Declaration, Variable], |
279 | 279 | '@pos': { '@type': "uast:Positions", |
280 | 280 | start: { '@type': "uast:Position", |
|
289 | 289 | }, |
290 | 290 | }, |
291 | 291 | 'extraDimensions2': ~, |
292 | | - initializer: { '@type': "ArrayAccess", |
| 292 | + initializer: { '@type': "java:ArrayAccess", |
293 | 293 | '@role': [Expression, Incomplete], |
294 | 294 | '@pos': { '@type': "uast:Positions", |
295 | 295 | start: { '@type': "uast:Position", |
|
318 | 318 | }, |
319 | 319 | Name: "a", |
320 | 320 | }, |
321 | | - index: { '@type': "NumberLiteral", |
| 321 | + index: { '@type': "java:NumberLiteral", |
322 | 322 | '@role': [Expression, Literal, Number], |
323 | 323 | '@pos': { '@type': "uast:Positions", |
324 | 324 | start: { '@type': "uast:Position", |
|
353 | 353 | }, |
354 | 354 | ], |
355 | 355 | modifiers: ~, |
356 | | - type: { '@type': "PrimitiveType", |
| 356 | + type: { '@type': "java:PrimitiveType", |
357 | 357 | '@token': "int", |
358 | 358 | '@role': [Number, Primitive, Type], |
359 | 359 | '@pos': { '@type': "uast:Positions", |
|
0 commit comments