@@ -105,30 +105,44 @@ test.kt:
105
105
# 0| 0: [TypeAccess] VarargAnnotation
106
106
# 13| 2: [Method] x
107
107
# 13| 3: [TypeAccess] int[]
108
- # 15| 7: [Class] Annotated
108
+ # 15| 7: [Interface] AnnWithDefaults
109
+ #-----| -3: (Annotations)
110
+ # 0| 1: [Annotation] Retention
111
+ # 0| 1: [VarAccess] RetentionPolicy.RUNTIME
112
+ # 0| -1: [TypeAccess] RetentionPolicy
113
+ # 15| 1: [Method] x
114
+ # 15| 3: [TypeAccess] int
115
+ # 15| 2: [Method] y
116
+ # 15| 3: [TypeAccess] String
117
+ # 15| 3: [Method] z
118
+ # 15| 3: [TypeAccess] DayOfWeek
119
+ # 15| 4: [Method] w
120
+ # 15| 3: [TypeAccess] Ann3[]
121
+ # 15| 0: [TypeAccess] Ann3
122
+ # 17| 8: [Class] Annotated
109
123
#-----| -3: (Annotations)
110
124
# 0| 1: [Annotation] Container
111
125
# 0| 1: [ArrayInit] {...}
112
- # 17 | 1: [Annotation] VarargAnnotation
126
+ # 19 | 1: [Annotation] VarargAnnotation
113
127
# 0| 1: [ArrayInit] {...}
114
- # 18 | 2: [Annotation] VarargAnnotation
128
+ # 20 | 2: [Annotation] VarargAnnotation
115
129
# 0| 1: [ArrayInit] {...}
116
130
# 0| 1: [IntegerLiteral] 1
117
- # 19 | 3: [Annotation] VarargAnnotation
131
+ # 21 | 3: [Annotation] VarargAnnotation
118
132
# 0| 1: [ArrayInit] {...}
119
133
# 0| 1: [IntegerLiteral] 1
120
134
# 0| 1: [IntegerLiteral] 2
121
- # 20 | 4: [Annotation] VarargAnnotation
135
+ # 22 | 4: [Annotation] VarargAnnotation
122
136
# 0| 1: [ArrayInit] {...}
123
137
# 0| 1: [IntegerLiteral] 1
124
138
# 0| 1: [IntegerLiteral] 2
125
139
# 0| 1: [IntegerLiteral] 3
126
- # 21 | 5: [Annotation] VarargAnnotation
140
+ # 23 | 5: [Annotation] VarargAnnotation
127
141
# 0| 1: [ArrayInit] {...}
128
142
# 0| 1: [IntegerLiteral] 1
129
143
# 0| 1: [IntegerLiteral] 2
130
144
# 0| 1: [IntegerLiteral] 3
131
- # 15 | 2: [Annotation] Ann1
145
+ # 17 | 2: [Annotation] Ann1
132
146
# 0| 1: [IntegerLiteral] 1
133
147
# 0| 1: [Annotation] Ann2
134
148
# 0| 1: [StringLiteral] "Hello"
@@ -150,35 +164,43 @@ test.kt:
150
164
# 0| 0: [TypeAccess] int
151
165
# 0| 1: [VarAccess] DayOfWeek.MONDAY
152
166
# 0| -1: [TypeAccess] DayOfWeek
153
- # 16| 3: [Annotation] GenericAnnotation<>
154
- # 22| 1: [Constructor] Annotated
155
- # 15| 5: [BlockStmt] { ... }
156
- # 15| 0: [SuperConstructorInvocationStmt] super(...)
157
- # 22| 1: [BlockStmt] { ... }
158
- # 24| 8: [Class] AnnotatedUsedByKotlin
167
+ # 18| 3: [Annotation] GenericAnnotation<>
168
+ # 24| 4: [Annotation] AnnWithDefaults
169
+ # 0| 1: [IntegerLiteral] 1
170
+ # 0| 1: [StringLiteral] "hello"
171
+ # 0| 1: [VarAccess] DayOfWeek.TUESDAY
172
+ # 0| -1: [TypeAccess] DayOfWeek
173
+ # 0| 1: [ArrayInit] {...}
174
+ # 0| 1: [Annotation] Ann3
175
+ # 0| 1: [IntegerLiteral] 1
176
+ # 25| 1: [Constructor] Annotated
177
+ # 17| 5: [BlockStmt] { ... }
178
+ # 17| 0: [SuperConstructorInvocationStmt] super(...)
179
+ # 25| 1: [BlockStmt] { ... }
180
+ # 27| 9: [Class] AnnotatedUsedByKotlin
159
181
#-----| -3: (Annotations)
160
182
# 0| 1: [Annotation] Container
161
183
# 0| 1: [ArrayInit] {...}
162
- # 26 | 1: [Annotation] VarargAnnotation
184
+ # 29 | 1: [Annotation] VarargAnnotation
163
185
# 0| 1: [ArrayInit] {...}
164
- # 27 | 2: [Annotation] VarargAnnotation
186
+ # 30 | 2: [Annotation] VarargAnnotation
165
187
# 0| 1: [ArrayInit] {...}
166
188
# 0| 1: [IntegerLiteral] 1
167
- # 28 | 3: [Annotation] VarargAnnotation
189
+ # 31 | 3: [Annotation] VarargAnnotation
168
190
# 0| 1: [ArrayInit] {...}
169
191
# 0| 1: [IntegerLiteral] 1
170
192
# 0| 1: [IntegerLiteral] 2
171
- # 29 | 4: [Annotation] VarargAnnotation
193
+ # 32 | 4: [Annotation] VarargAnnotation
172
194
# 0| 1: [ArrayInit] {...}
173
195
# 0| 1: [IntegerLiteral] 1
174
196
# 0| 1: [IntegerLiteral] 2
175
197
# 0| 1: [IntegerLiteral] 3
176
- # 30 | 5: [Annotation] VarargAnnotation
198
+ # 33 | 5: [Annotation] VarargAnnotation
177
199
# 0| 1: [ArrayInit] {...}
178
200
# 0| 1: [IntegerLiteral] 1
179
201
# 0| 1: [IntegerLiteral] 2
180
202
# 0| 1: [IntegerLiteral] 3
181
- # 24 | 2: [Annotation] Ann1
203
+ # 27 | 2: [Annotation] Ann1
182
204
# 0| 1: [IntegerLiteral] 1
183
205
# 0| 1: [Annotation] Ann2
184
206
# 0| 1: [StringLiteral] "Hello"
@@ -200,11 +222,19 @@ test.kt:
200
222
# 0| 0: [TypeAccess] int
201
223
# 0| 1: [VarAccess] DayOfWeek.MONDAY
202
224
# 0| -1: [TypeAccess] DayOfWeek
203
- # 25| 3: [Annotation] GenericAnnotation<>
204
- # 31| 1: [Constructor] AnnotatedUsedByKotlin
205
- # 24| 5: [BlockStmt] { ... }
206
- # 24| 0: [SuperConstructorInvocationStmt] super(...)
207
- # 31| 1: [BlockStmt] { ... }
225
+ # 28| 3: [Annotation] GenericAnnotation<>
226
+ # 34| 4: [Annotation] AnnWithDefaults
227
+ # 0| 1: [IntegerLiteral] 1
228
+ # 0| 1: [StringLiteral] "hello"
229
+ # 0| 1: [VarAccess] DayOfWeek.TUESDAY
230
+ # 0| -1: [TypeAccess] DayOfWeek
231
+ # 0| 1: [ArrayInit] {...}
232
+ # 0| 1: [Annotation] Ann3
233
+ # 0| 1: [IntegerLiteral] 1
234
+ # 35| 1: [Constructor] AnnotatedUsedByKotlin
235
+ # 27| 5: [BlockStmt] { ... }
236
+ # 27| 0: [SuperConstructorInvocationStmt] super(...)
237
+ # 35| 1: [BlockStmt] { ... }
208
238
# 0| [TypeLiteral] String.class
209
239
# 0| 0: [TypeAccess] String
210
240
# 0| [ArrayInit] {...}
0 commit comments