@@ -163,25 +163,25 @@ test.kt:
163
163
# 23| 2: [IntegerLiteral] 2
164
164
# 23| 3: [IntegerLiteral] 3
165
165
# 17| 2: [Annotation] Ann1
166
- # 0 | 1: [Annotation] Ann2
167
- # 0 | 1 : [StringLiteral] "Hello"
168
- # 0 | 2 : [TypeLiteral] String.class
169
- # 0 | 0 : [TypeAccess ] String
170
- # 0 | 3 : [ArrayInit] {...}
171
- # 0 | 1 : [IntegerLiteral] 1
172
- # 0 | 2 : [IntegerLiteral] 2
173
- # 0 | 3 : [IntegerLiteral] 3
174
- # 0 | 4 : [ArrayInit] {...}
175
- # 0 | 1 : [Annotation] Ann3
176
- # 0 | 1: [IntegerLiteral] 1
177
- # 0 | 2 : [Annotation] Ann3
178
- # 0 | 1 : [IntegerLiteral] 2
179
- # 0 | 5 : [ArrayInit] {...}
180
- # 0 | 1 : [TypeLiteral] String.class
181
- # 0 | 0 : [TypeAccess ] String
182
- # 0 | 2 : [TypeLiteral] int.class
183
- # 0 | 0 : [TypeAccess ] int
184
- # 17| 2 : [IntegerLiteral] 1
166
+ # 17 | 1: [IntegerLiteral] 1
167
+ # 17 | 2 : [Annotation] Ann2
168
+ # 17 | 1 : [StringLiteral] "Hello"
169
+ # 17 | 2 : [TypeLiteral ] String.class
170
+ # 17 | 0 : [TypeAccess] String
171
+ # 17 | 3 : [ArrayInit] {...}
172
+ # 17 | 1 : [IntegerLiteral] 1
173
+ # 17 | 2 : [IntegerLiteral] 2
174
+ # 17 | 3 : [IntegerLiteral] 3
175
+ # 17 | 4 : [ArrayInit] {...}
176
+ # 17 | 1: [Annotation] Ann3
177
+ # 17 | 1 : [IntegerLiteral] 1
178
+ # 17 | 2 : [Annotation] Ann3
179
+ # 17 | 1 : [IntegerLiteral] 2
180
+ # 17 | 5 : [ArrayInit] {...}
181
+ # 17 | 1 : [TypeLiteral ] String.class
182
+ # 17 | 0 : [TypeAccess] String
183
+ # 17 | 2 : [TypeLiteral ] int.class
184
+ # 17| 0 : [TypeAccess] int
185
185
# 17| 3: [VarAccess] DayOfWeek.MONDAY
186
186
# 17| -1: [TypeAccess] DayOfWeek
187
187
# 18| 3: [Annotation] GenericAnnotation
@@ -193,17 +193,17 @@ test.kt:
193
193
# 18| 2: [TypeLiteral] String.class
194
194
# 18| 0: [TypeAccess] String
195
195
# 24| 4: [Annotation] AnnWithDefaults
196
- # 0 | 1: [IntegerLiteral] 1
197
- # 0 | 2: [StringLiteral] "hello"
198
- # 0 | 3: [VarAccess] DayOfWeek.TUESDAY
199
- # 0 | -1: [TypeAccess] DayOfWeek
200
- # 0 | 4: [ArrayInit] {...}
201
- # 0 | 1: [Annotation] Ann3
202
- # 0 | 1: [IntegerLiteral] 1
203
- # 25 | 1: [Constructor] Annotated
196
+ # 15 | 1: [IntegerLiteral] 1
197
+ # 15 | 2: [StringLiteral] "hello"
198
+ # 15 | 3: [VarAccess] DayOfWeek.TUESDAY
199
+ # 15 | -1: [TypeAccess] DayOfWeek
200
+ # 15 | 4: [ArrayInit] {...}
201
+ # 15 | 1: [Annotation] Ann3
202
+ # 15 | 1: [IntegerLiteral] 1
203
+ # 17 | 1: [Constructor] Annotated
204
204
# 17| 5: [BlockStmt] { ... }
205
205
# 17| 0: [SuperConstructorInvocationStmt] super(...)
206
- # 25 | 1: [BlockStmt] { ... }
206
+ # 17 | 1: [BlockStmt] { ... }
207
207
# 27| 9: [Class] AnnotatedUsedByKotlin
208
208
#-----| -3: (Annotations)
209
209
# 0| 1: [Annotation] Container
@@ -228,25 +228,25 @@ test.kt:
228
228
# 33| 2: [IntegerLiteral] 2
229
229
# 33| 3: [IntegerLiteral] 3
230
230
# 27| 2: [Annotation] Ann1
231
- # 0 | 1: [Annotation] Ann2
232
- # 0 | 1 : [StringLiteral] "Hello"
233
- # 0 | 2 : [TypeLiteral] String.class
234
- # 0 | 0 : [TypeAccess ] String
235
- # 0 | 3 : [ArrayInit] {...}
236
- # 0 | 1 : [IntegerLiteral] 1
237
- # 0 | 2 : [IntegerLiteral] 2
238
- # 0 | 3 : [IntegerLiteral] 3
239
- # 0 | 4 : [ArrayInit] {...}
240
- # 0 | 1 : [Annotation] Ann3
241
- # 0 | 1: [IntegerLiteral] 1
242
- # 0 | 2 : [Annotation] Ann3
243
- # 0 | 1 : [IntegerLiteral] 2
244
- # 0 | 5 : [ArrayInit] {...}
245
- # 0 | 1 : [TypeLiteral] String.class
246
- # 0 | 0 : [TypeAccess ] String
247
- # 0 | 2 : [TypeLiteral] int.class
248
- # 0 | 0 : [TypeAccess ] int
249
- # 27| 2 : [IntegerLiteral] 1
231
+ # 27 | 1: [IntegerLiteral] 1
232
+ # 27 | 2 : [Annotation] Ann2
233
+ # 27 | 1 : [StringLiteral] "Hello"
234
+ # 27 | 2 : [TypeLiteral ] String.class
235
+ # 27 | 0 : [TypeAccess] String
236
+ # 27 | 3 : [ArrayInit] {...}
237
+ # 27 | 1 : [IntegerLiteral] 1
238
+ # 27 | 2 : [IntegerLiteral] 2
239
+ # 27 | 3 : [IntegerLiteral] 3
240
+ # 27 | 4 : [ArrayInit] {...}
241
+ # 27 | 1: [Annotation] Ann3
242
+ # 27 | 1 : [IntegerLiteral] 1
243
+ # 27 | 2 : [Annotation] Ann3
244
+ # 27 | 1 : [IntegerLiteral] 2
245
+ # 27 | 5 : [ArrayInit] {...}
246
+ # 27 | 1 : [TypeLiteral ] String.class
247
+ # 27 | 0 : [TypeAccess] String
248
+ # 27 | 2 : [TypeLiteral ] int.class
249
+ # 27| 0 : [TypeAccess] int
250
250
# 27| 3: [VarAccess] DayOfWeek.MONDAY
251
251
# 27| -1: [TypeAccess] DayOfWeek
252
252
# 28| 3: [Annotation] GenericAnnotation
@@ -258,44 +258,48 @@ test.kt:
258
258
# 28| 2: [TypeLiteral] String.class
259
259
# 28| 0: [TypeAccess] String
260
260
# 34| 4: [Annotation] AnnWithDefaults
261
- # 0 | 1: [IntegerLiteral] 1
262
- # 0 | 2: [StringLiteral] "hello"
263
- # 0 | 3: [VarAccess] DayOfWeek.TUESDAY
264
- # 0 | -1: [TypeAccess] DayOfWeek
265
- # 0 | 4: [ArrayInit] {...}
266
- # 0 | 1: [Annotation] Ann3
267
- # 0 | 1: [IntegerLiteral] 1
268
- # 35 | 1: [Constructor] AnnotatedUsedByKotlin
261
+ # 15 | 1: [IntegerLiteral] 1
262
+ # 15 | 2: [StringLiteral] "hello"
263
+ # 15 | 3: [VarAccess] DayOfWeek.TUESDAY
264
+ # 15 | -1: [TypeAccess] DayOfWeek
265
+ # 15 | 4: [ArrayInit] {...}
266
+ # 15 | 1: [Annotation] Ann3
267
+ # 15 | 1: [IntegerLiteral] 1
268
+ # 27 | 1: [Constructor] AnnotatedUsedByKotlin
269
269
# 27| 5: [BlockStmt] { ... }
270
270
# 27| 0: [SuperConstructorInvocationStmt] super(...)
271
- # 35 | 1: [BlockStmt] { ... }
271
+ # 27 | 1: [BlockStmt] { ... }
272
272
# 37| 10: [Class] HasJavaDeprecatedAnnotationUsedByJava
273
273
#-----| -3: (Annotations)
274
274
# 37| 1: [Annotation] Deprecated
275
- # 38| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByJava
275
+ # 0| 1: [StringLiteral] ""
276
+ # 0| 2: [BooleanLiteral] false
277
+ # 37| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByJava
276
278
# 37| 5: [BlockStmt] { ... }
277
279
# 37| 0: [SuperConstructorInvocationStmt] super(...)
278
- # 38 | 1: [BlockStmt] { ... }
280
+ # 37 | 1: [BlockStmt] { ... }
279
281
# 40| 11: [Class] HasKotlinDeprecatedAnnotationUsedByJava
280
282
#-----| -3: (Annotations)
281
283
# 40| 1: [Annotation] Deprecated
282
284
# 40| 1: [StringLiteral] "Kotlin deprecation message 1"
283
- # 41 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
285
+ # 40 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
284
286
# 40| 5: [BlockStmt] { ... }
285
287
# 40| 0: [SuperConstructorInvocationStmt] super(...)
286
- # 41 | 1: [BlockStmt] { ... }
288
+ # 40 | 1: [BlockStmt] { ... }
287
289
# 43| 12: [Class] HasJavaDeprecatedAnnotationUsedByKotlin
288
290
#-----| -3: (Annotations)
289
291
# 43| 1: [Annotation] Deprecated
290
- # 44| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByKotlin
292
+ # 0| 1: [StringLiteral] ""
293
+ # 0| 2: [BooleanLiteral] false
294
+ # 43| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByKotlin
291
295
# 43| 5: [BlockStmt] { ... }
292
296
# 43| 0: [SuperConstructorInvocationStmt] super(...)
293
- # 44 | 1: [BlockStmt] { ... }
297
+ # 43 | 1: [BlockStmt] { ... }
294
298
# 46| 13: [Class] HasKotlinDeprecatedAnnotationUsedByKotlin
295
299
#-----| -3: (Annotations)
296
300
# 46| 1: [Annotation] Deprecated
297
301
# 46| 1: [StringLiteral] "Kotlin deprecation message 2"
298
- # 47 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
302
+ # 46 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
299
303
# 46| 5: [BlockStmt] { ... }
300
304
# 46| 0: [SuperConstructorInvocationStmt] super(...)
301
- # 47 | 1: [BlockStmt] { ... }
305
+ # 46 | 1: [BlockStmt] { ... }
0 commit comments