@@ -22,64 +22,64 @@ Annot1j.java:
22
22
def.kt:
23
23
# 0| [CompilationUnit] def
24
24
# 0| 1: [Class] DefKt
25
- # 46 | 2: [Method] fn
25
+ # 45 | 2: [Method] fn
26
26
#-----| 1: (Annotations)
27
27
# 45| 1: [Annotation] Annot0k
28
- # 0 | 1: [IntegerLiteral] 0
28
+ # 21 | 1: [IntegerLiteral] 0
29
29
#-----| 2: (Generic Parameters)
30
30
# 46| 0: [TypeVariable] T
31
- # 46 | 3: [TypeAccess] Unit
31
+ # 45 | 3: [TypeAccess] Unit
32
32
#-----| 4: (Parameters)
33
33
# 46| 0: [Parameter] a
34
34
#-----| -1: (Annotations)
35
35
# 46| 1: [Annotation] Annot0k
36
- # 0 | 1: [IntegerLiteral] 0
36
+ # 21 | 1: [IntegerLiteral] 0
37
37
# 46| 0: [TypeAccess] Annot0k
38
38
# 46| 5: [BlockStmt] { ... }
39
39
# 47| 0: [ExprStmt] <Expr>;
40
40
# 47| 0: [MethodCall] println(...)
41
41
# 47| -1: [TypeAccess] ConsoleKt
42
42
# 47| 0: [MethodCall] a(...)
43
43
# 47| -1: [VarAccess] a
44
- # 50 | 1: [LocalVariableDeclStmt] var ...;
45
- # 50 | 1: [LocalVariableDeclExpr] x
44
+ # 49 | 1: [LocalVariableDeclStmt] var ...;
45
+ # 49 | 1: [LocalVariableDeclExpr] x
46
46
# 50| 0: [IntegerLiteral] 10
47
- # 53| 3: [FieldDeclaration] int p;
47
+ # 53| 3: [Method] getP
48
+ #-----| 1: (Annotations)
49
+ # 54| 1: [Annotation] Annot0k
50
+ # 21| 1: [IntegerLiteral] 0
51
+ # 53| 3: [TypeAccess] int
52
+ # 53| 5: [BlockStmt] { ... }
53
+ # 53| 0: [ReturnStmt] return ...
54
+ # 53| 0: [VarAccess] DefKt.p
55
+ # 53| -1: [TypeAccess] DefKt
56
+ # 53| 4: [FieldDeclaration] int p;
48
57
#-----| -2: (Annotations)
49
58
# 56| 1: [Annotation] Annot0k
50
- # 0 | 1: [IntegerLiteral] 0
59
+ # 21 | 1: [IntegerLiteral] 0
51
60
# 53| -1: [TypeAccess] int
52
61
# 57| 0: [IntegerLiteral] 5
53
- # 57| 4: [Method] getP
54
- #-----| 1: (Annotations)
55
- # 54| 1: [Annotation] Annot0k
56
- # 0| 1: [IntegerLiteral] 0
57
- # 57| 3: [TypeAccess] int
58
- # 57| 5: [BlockStmt] { ... }
59
- # 57| 0: [ReturnStmt] return ...
60
- # 57| 0: [VarAccess] DefKt.p
61
- # 57| -1: [TypeAccess] DefKt
62
- # 57| 5: [Method] setP
62
+ # 53| 5: [Method] setP
63
63
#-----| 1: (Annotations)
64
64
# 55| 1: [Annotation] Annot0k
65
- # 0 | 1: [IntegerLiteral] 0
66
- # 57 | 3: [TypeAccess] Unit
65
+ # 21 | 1: [IntegerLiteral] 0
66
+ # 53 | 3: [TypeAccess] Unit
67
67
#-----| 4: (Parameters)
68
- # 57 | 0: [Parameter] <set-?>
69
- # 57 | 0: [TypeAccess] int
70
- # 57 | 5: [BlockStmt] { ... }
71
- # 57 | 0: [ExprStmt] <Expr>;
72
- # 57 | 0: [AssignExpr] ...=...
73
- # 57 | 0: [VarAccess] DefKt.p
74
- # 57 | -1: [TypeAccess] DefKt
75
- # 57 | 1: [VarAccess] <set-?>
68
+ # 53 | 0: [Parameter] <set-?>
69
+ # 53 | 0: [TypeAccess] int
70
+ # 53 | 5: [BlockStmt] { ... }
71
+ # 53 | 0: [ExprStmt] <Expr>;
72
+ # 53 | 0: [AssignExpr] ...=...
73
+ # 53 | 0: [VarAccess] DefKt.p
74
+ # 53 | -1: [TypeAccess] DefKt
75
+ # 53 | 1: [VarAccess] <set-?>
76
76
# 59| 6: [ExtensionMethod] myExtension
77
77
# 59| 3: [TypeAccess] Unit
78
78
#-----| 4: (Parameters)
79
79
# 59| 0: [Parameter] <this>
80
80
#-----| -1: (Annotations)
81
81
# 59| 1: [Annotation] Annot0k
82
- # 0 | 1: [IntegerLiteral] 0
82
+ # 21 | 1: [IntegerLiteral] 0
83
83
# 59| 0: [TypeAccess] String
84
84
# 59| 5: [BlockStmt] { ... }
85
85
# 5| 2: [Interface] Annot0k
@@ -111,32 +111,32 @@ def.kt:
111
111
# 5| 1: [ArrayInit] {...}
112
112
# 5| 1: [VarAccess] AnnotationTarget.CLASS
113
113
# 5| -1: [TypeAccess] AnnotationTarget
114
- # 5 | 2: [VarAccess] AnnotationTarget.ANNOTATION_CLASS
115
- # 5 | -1: [TypeAccess] AnnotationTarget
116
- # 5 | 3: [VarAccess] AnnotationTarget.TYPE_PARAMETER
117
- # 5 | -1: [TypeAccess] AnnotationTarget
118
- # 5 | 4: [VarAccess] AnnotationTarget.PROPERTY
119
- # 5 | -1: [TypeAccess] AnnotationTarget
120
- # 5 | 5: [VarAccess] AnnotationTarget.FIELD
121
- # 5 | -1: [TypeAccess] AnnotationTarget
122
- # 5 | 6: [VarAccess] AnnotationTarget.LOCAL_VARIABLE
123
- # 5 | -1: [TypeAccess] AnnotationTarget
124
- # 5 | 7: [VarAccess] AnnotationTarget.VALUE_PARAMETER
125
- # 5 | -1: [TypeAccess] AnnotationTarget
126
- # 5 | 8: [VarAccess] AnnotationTarget.CONSTRUCTOR
127
- # 5 | -1: [TypeAccess] AnnotationTarget
128
- # 5 | 9: [VarAccess] AnnotationTarget.FUNCTION
129
- # 5 | -1: [TypeAccess] AnnotationTarget
130
- # 5 | 10: [VarAccess] AnnotationTarget.PROPERTY_GETTER
131
- # 5 | -1: [TypeAccess] AnnotationTarget
132
- # 5 | 11: [VarAccess] AnnotationTarget.PROPERTY_SETTER
133
- # 5 | -1: [TypeAccess] AnnotationTarget
134
- # 5 | 12: [VarAccess] AnnotationTarget.TYPE
135
- # 5 | -1: [TypeAccess] AnnotationTarget
136
- # 5 | 13: [VarAccess] AnnotationTarget.FILE
137
- # 5 | -1: [TypeAccess] AnnotationTarget
138
- # 5 | 14: [VarAccess] AnnotationTarget.TYPEALIAS
139
- # 5 | -1: [TypeAccess] AnnotationTarget
114
+ # 6 | 2: [VarAccess] AnnotationTarget.ANNOTATION_CLASS
115
+ # 6 | -1: [TypeAccess] AnnotationTarget
116
+ # 7 | 3: [VarAccess] AnnotationTarget.TYPE_PARAMETER
117
+ # 7 | -1: [TypeAccess] AnnotationTarget
118
+ # 8 | 4: [VarAccess] AnnotationTarget.PROPERTY
119
+ # 8 | -1: [TypeAccess] AnnotationTarget
120
+ # 9 | 5: [VarAccess] AnnotationTarget.FIELD
121
+ # 9 | -1: [TypeAccess] AnnotationTarget
122
+ # 10 | 6: [VarAccess] AnnotationTarget.LOCAL_VARIABLE
123
+ # 10 | -1: [TypeAccess] AnnotationTarget
124
+ # 11 | 7: [VarAccess] AnnotationTarget.VALUE_PARAMETER
125
+ # 11 | -1: [TypeAccess] AnnotationTarget
126
+ # 12 | 8: [VarAccess] AnnotationTarget.CONSTRUCTOR
127
+ # 12 | -1: [TypeAccess] AnnotationTarget
128
+ # 13 | 9: [VarAccess] AnnotationTarget.FUNCTION
129
+ # 13 | -1: [TypeAccess] AnnotationTarget
130
+ # 14 | 10: [VarAccess] AnnotationTarget.PROPERTY_GETTER
131
+ # 14 | -1: [TypeAccess] AnnotationTarget
132
+ # 15 | 11: [VarAccess] AnnotationTarget.PROPERTY_SETTER
133
+ # 15 | -1: [TypeAccess] AnnotationTarget
134
+ # 16 | 12: [VarAccess] AnnotationTarget.TYPE
135
+ # 16 | -1: [TypeAccess] AnnotationTarget
136
+ # 18 | 13: [VarAccess] AnnotationTarget.FILE
137
+ # 18 | -1: [TypeAccess] AnnotationTarget
138
+ # 19 | 14: [VarAccess] AnnotationTarget.TYPEALIAS
139
+ # 19 | -1: [TypeAccess] AnnotationTarget
140
140
# 21| 1: [Method] a
141
141
#-----| 1: (Annotations)
142
142
# 21| 1: [Annotation] JvmName
@@ -148,7 +148,7 @@ def.kt:
148
148
# 0| 1: [VarAccess] RetentionPolicy.RUNTIME
149
149
# 0| -1: [TypeAccess] RetentionPolicy
150
150
# 23| 2: [Annotation] Annot0k
151
- # 0 | 1: [IntegerLiteral] 0
151
+ # 21 | 1: [IntegerLiteral] 0
152
152
# 25| 1: [Method] a
153
153
# 25| 3: [TypeAccess] int
154
154
# 26| 2: [Method] b
@@ -169,26 +169,26 @@ def.kt:
169
169
# 33| 0: [SuperConstructorInvocationStmt] super(...)
170
170
# 33| 1: [BlockStmt] { ... }
171
171
# 34| 5: [Class] Y
172
- # 0| 2: [Method] getEntries
173
- # 0| 3: [TypeAccess] EnumEntries<Y>
174
- # 0| 0: [TypeAccess] Y
175
- # 0| 3: [Method] valueOf
176
- # 0| 3: [TypeAccess] Y
177
- #-----| 4: (Parameters)
178
- # 0| 0: [Parameter] value
179
- # 0| 0: [TypeAccess] String
180
- # 0| 4: [Method] values
181
- # 0| 3: [TypeAccess] Y[]
182
- # 0| 0: [TypeAccess] Y
183
- # 34| 5: [Constructor] Y
172
+ # 34| 2: [Constructor] Y
184
173
# 34| 5: [BlockStmt] { ... }
185
174
# 34| 0: [ExprStmt] <Expr>;
186
- # 34| 0: [ClassInstanceExpr] new Enum(...)
175
+ # 34| 0: [ClassInstanceExpr] new Enum<Y> (...)
187
176
# 34| -3: [TypeAccess] Enum<Y>
188
177
# 34| 0: [TypeAccess] Y
189
178
# 34| 0: [NullLiteral] null
190
179
# 34| 1: [IntegerLiteral] 0
191
180
# 34| 1: [BlockStmt] { ... }
181
+ # 34| 3: [Method] getEntries
182
+ # 34| 3: [TypeAccess] EnumEntries<Y>
183
+ # 34| 0: [TypeAccess] Y
184
+ # 34| 4: [Method] valueOf
185
+ # 34| 3: [TypeAccess] Y
186
+ #-----| 4: (Parameters)
187
+ # 34| 0: [Parameter] value
188
+ # 34| 0: [TypeAccess] String
189
+ # 34| 5: [Method] values
190
+ # 34| 3: [TypeAccess] Y[]
191
+ # 34| 0: [TypeAccess] Y
192
192
# 35| 6: [FieldDeclaration] Y A;
193
193
# 35| -1: [TypeAccess] Y
194
194
# 35| 0: [ClassInstanceExpr] new Y(...)
@@ -206,26 +206,26 @@ def.kt:
206
206
# 38| 1: [Annotation] Annot0k
207
207
# 38| 1: [IntegerLiteral] 1
208
208
# 39| 2: [Annotation] Annot1k
209
- # 0 | 1: [IntegerLiteral] 2
210
- # 0 | 2: [StringLiteral] "ab"
211
- # 0 | 3: [TypeLiteral] X.class
212
- # 0 | 0: [TypeAccess] X
213
- # 0 | 4: [Annotation] Annot0k
214
- # 0 | 1: [IntegerLiteral] 1
209
+ # 25 | 1: [IntegerLiteral] 2
210
+ # 26 | 2: [StringLiteral] "ab"
211
+ # 27 | 3: [TypeLiteral] X.class
212
+ # 27 | 0: [TypeAccess] X
213
+ # 30 | 4: [Annotation] Annot0k
214
+ # 30 | 1: [IntegerLiteral] 1
215
215
# 39| 5: [VarAccess] Y.B
216
216
# 39| -1: [TypeAccess] Y
217
217
# 39| 6: [ArrayInit] {...}
218
218
# 39| 1: [VarAccess] Y.C
219
219
# 39| -1: [TypeAccess] Y
220
220
# 39| 2: [VarAccess] Y.A
221
221
# 39| -1: [TypeAccess] Y
222
- # 42 | 1: [Constructor] Z
222
+ # 41 | 1: [Constructor] Z
223
223
#-----| 1: (Annotations)
224
224
# 41| 1: [Annotation] Annot0k
225
- # 0 | 1: [IntegerLiteral] 0
225
+ # 21 | 1: [IntegerLiteral] 0
226
226
# 41| 5: [BlockStmt] { ... }
227
227
# 42| 0: [SuperConstructorInvocationStmt] super(...)
228
- # 42 | 1: [BlockStmt] { ... }
228
+ # 41 | 1: [BlockStmt] { ... }
229
229
use.java:
230
230
# 0| [CompilationUnit] use
231
231
# 1| 1: [Class] use
0 commit comments