|
| 1 | +Annot0j.java: |
| 2 | +# 0| [CompilationUnit] Annot0j |
| 3 | +# 1| 1: [Interface] Annot0j |
| 4 | +# 2| 1: [Method] abc |
| 5 | +# 2| 3: [TypeAccess] int |
| 6 | +Annot1j.java: |
| 7 | +# 0| [CompilationUnit] Annot1j |
| 8 | +# 1| 1: [Interface] Annot1j |
| 9 | +# 2| 1: [Method] a |
| 10 | +# 2| 3: [TypeAccess] int |
| 11 | +# 4| 2: [Method] b |
| 12 | +# 4| 3: [TypeAccess] String |
| 13 | +# 6| 3: [Method] c |
| 14 | +# 6| 3: [TypeAccess] Class<> |
| 15 | +# 8| 4: [Method] d |
| 16 | +# 8| 3: [TypeAccess] Y |
| 17 | +# 10| 5: [Method] e |
| 18 | +# 10| 3: [ArrayTypeAccess] ...[] |
| 19 | +# 10| 0: [TypeAccess] Y |
| 20 | +# 12| 6: [Method] f |
| 21 | +# 12| 3: [TypeAccess] Annot0j |
1 | 22 | def.kt: |
2 | 23 | # 0| [CompilationUnit] def |
3 | 24 | # 0| 1: [Class] DefKt |
4 | | -# 13| 1: [Method] fn |
| 25 | +# 23| 1: [Method] fn |
5 | 26 | #-----| 4: (Parameters) |
6 | | -# 13| 0: [Parameter] a |
7 | | -# 13| 5: [BlockStmt] { ... } |
8 | | -# 14| 0: [ExprStmt] <Expr>; |
9 | | -# 14| 0: [MethodAccess] println(...) |
10 | | -# 14| -1: [TypeAccess] ConsoleKt |
11 | | -# 14| 0: [MethodAccess] abc(...) |
12 | | -# 14| -1: [VarAccess] a |
13 | | -# 1| 2: [Interface] SomeAnnotation |
14 | | -# 1| 1: [Method] abc |
15 | | -# 1| 2: [Method] y |
16 | | -# 3| 3: [Interface] ReplaceWith |
17 | | -# 3| 1: [Method] expression |
18 | | -# 5| 4: [Interface] Deprecated |
19 | | -# 6| 1: [Method] message |
20 | | -# 7| 2: [Method] replaceWith |
21 | | -# 9| 5: [Class] X |
| 27 | +# 23| 0: [Parameter] a |
| 28 | +# 23| 5: [BlockStmt] { ... } |
| 29 | +# 24| 0: [ExprStmt] <Expr>; |
| 30 | +# 24| 0: [MethodAccess] println(...) |
| 31 | +# 24| -1: [TypeAccess] ConsoleKt |
| 32 | +# 24| 0: [MethodAccess] a(...) |
| 33 | +# 24| -1: [VarAccess] a |
| 34 | +# 3| 2: [Interface] Annot0k |
| 35 | +# 3| 1: [Method] a |
| 36 | +# 5| 3: [Interface] Annot1k |
| 37 | +# 6| 1: [Method] a |
| 38 | +# 7| 2: [Method] b |
| 39 | +# 8| 3: [Method] c |
| 40 | +# 9| 4: [Method] d |
| 41 | +# 10| 5: [Method] e |
| 42 | +# 11| 6: [Method] f |
| 43 | +# 14| 4: [Class] X |
| 44 | +# 14| 1: [Constructor] X |
| 45 | +# 14| 5: [BlockStmt] { ... } |
| 46 | +# 14| 0: [SuperConstructorInvocationStmt] super(...) |
| 47 | +# 14| 1: [BlockStmt] { ... } |
| 48 | +# 15| 5: [Class] Y |
| 49 | +# 0| 2: [Method] values |
| 50 | +# 0| 2: [Method] valueOf |
| 51 | +#-----| 4: (Parameters) |
| 52 | +# 0| 0: [Parameter] value |
| 53 | +# 15| 4: [Constructor] Y |
| 54 | +# 15| 5: [BlockStmt] { ... } |
| 55 | +# 15| 0: [ExprStmt] <Expr>; |
| 56 | +# 15| 0: [ClassInstanceExpr] new Enum(...) |
| 57 | +# 15| -3: [TypeAccess] Unit |
| 58 | +# 15| 0: [TypeAccess] Y |
| 59 | +# 15| 1: [BlockStmt] { ... } |
| 60 | +# 19| 6: [Class] Z |
22 | 61 | #-----| -3: (Annotations) |
23 | | -# 9| 1: [Annotation] Deprecated |
24 | | -# 0| 1: [StringLiteral] This class is deprecated |
25 | | -# 0| 1: [Annotation] ReplaceWith |
26 | | -# 0| 1: [StringLiteral] Y |
27 | | -# 10| 2: [Annotation] SomeAnnotation |
28 | | -# 0| 1: [IntegerLiteral] 5 |
29 | | -# 0| 1: [StringLiteral] a |
30 | | -# 11| 1: [Constructor] X |
31 | | -# 9| 5: [BlockStmt] { ... } |
32 | | -# 9| 0: [SuperConstructorInvocationStmt] super(...) |
33 | | -# 11| 1: [BlockStmt] { ... } |
| 62 | +# 19| 1: [Annotation] Annot0k |
| 63 | +# 0| 1: [IntegerLiteral] 1 |
| 64 | +# 20| 2: [Annotation] Annot1k |
| 65 | +# 0| 1: [IntegerLiteral] 2 |
| 66 | +# 0| 1: [StringLiteral] ab |
| 67 | +# 0| 1: [TypeLiteral] X.class |
| 68 | +# 0| 0: [TypeAccess] X |
| 69 | +# 0| 1: [VarAccess] B |
| 70 | +# 0| 1: [ArrayInit] {...} |
| 71 | +# 0| 1: [VarAccess] C |
| 72 | +# 0| 1: [VarAccess] A |
| 73 | +# 0| 1: [Annotation] Annot0k |
| 74 | +# 0| 1: [IntegerLiteral] 1 |
| 75 | +# 21| 1: [Constructor] Z |
| 76 | +# 19| 5: [BlockStmt] { ... } |
| 77 | +# 19| 0: [SuperConstructorInvocationStmt] super(...) |
| 78 | +# 21| 1: [BlockStmt] { ... } |
34 | 79 | use.java: |
35 | 80 | # 0| [CompilationUnit] use |
36 | | -# 6| 1: [Class] use |
37 | | -#-----| -3: (Annotations) |
38 | | -# 2| 1: [Annotation] Deprecated |
39 | | -# 3| 1: [StringLiteral] "This class is deprecated" |
40 | | -# 4| 2: [Annotation] ReplaceWith |
41 | | -# 4| 1: [StringLiteral] "Y" |
42 | | -# 5| 2: [Annotation] SomeAnnotation |
43 | | -# 5| 2: [StringLiteral] "b" |
| 81 | +# 1| 1: [Class] use |
44 | 82 | #-----| -1: (Base Types) |
45 | | -# 6| 0: [TypeAccess] SomeAnnotation |
46 | | -# 8| 2: [Method] abc |
47 | | -#-----| 1: (Annotations) |
48 | | -# 7| 1: [Annotation] Override |
49 | | -# 8| 3: [TypeAccess] int |
50 | | -# 8| 5: [BlockStmt] { ... } |
51 | | -# 8| 0: [ReturnStmt] return ... |
52 | | -# 8| 0: [IntegerLiteral] 1 |
53 | | -# 10| 3: [Method] y |
| 83 | +# 1| 0: [TypeAccess] Annot0k |
| 84 | +# 3| 2: [Method] a |
54 | 85 | #-----| 1: (Annotations) |
55 | | -# 9| 1: [Annotation] Override |
56 | | -# 10| 3: [TypeAccess] String |
57 | | -# 10| 5: [BlockStmt] { ... } |
58 | | -# 10| 0: [ReturnStmt] return ... |
59 | | -# 10| 0: [StringLiteral] "" |
60 | | -# 13| 4: [Method] annotationType |
| 86 | +# 2| 1: [Annotation] Override |
| 87 | +# 3| 3: [TypeAccess] int |
| 88 | +# 3| 5: [BlockStmt] { ... } |
| 89 | +# 3| 0: [ReturnStmt] return ... |
| 90 | +# 3| 0: [IntegerLiteral] 1 |
| 91 | +# 6| 3: [Method] annotationType |
61 | 92 | #-----| 1: (Annotations) |
62 | | -# 12| 1: [Annotation] Override |
63 | | -# 13| 3: [TypeAccess] Class<? extends Annotation> |
64 | | -# 13| 0: [WildcardTypeAccess] ? ... |
65 | | -# 13| 0: [TypeAccess] Annotation |
66 | | -# 13| 5: [BlockStmt] { ... } |
67 | | -# 14| 0: [ReturnStmt] return ... |
68 | | -# 14| 0: [NullLiteral] null |
| 93 | +# 5| 1: [Annotation] Override |
| 94 | +# 6| 3: [TypeAccess] Class<? extends Annotation> |
| 95 | +# 6| 0: [WildcardTypeAccess] ? ... |
| 96 | +# 6| 0: [TypeAccess] Annotation |
| 97 | +# 6| 5: [BlockStmt] { ... } |
| 98 | +# 7| 0: [ReturnStmt] return ... |
| 99 | +# 7| 0: [NullLiteral] null |
| 100 | +# 12| 4: [Class] Z |
| 101 | +#-----| -3: (Annotations) |
| 102 | +# 10| 1: [Annotation] Annot0j |
| 103 | +# 10| 1: [IntegerLiteral] 1 |
| 104 | +# 11| 2: [Annotation] Annot1j |
| 105 | +# 11| 1: [IntegerLiteral] 1 |
| 106 | +# 11| 2: [StringLiteral] "ac" |
| 107 | +# 11| 3: [TypeLiteral] X.class |
| 108 | +# 11| 0: [TypeAccess] X |
| 109 | +# 11| 4: [VarAccess] Y.B |
| 110 | +# 11| -1: [TypeAccess] Y |
| 111 | +# 11| 5: [ArrayInit] {...} |
| 112 | +# 11| 3: [VarAccess] Y.C |
| 113 | +# 11| -1: [TypeAccess] Y |
| 114 | +# 11| 4: [VarAccess] Y.A |
| 115 | +# 11| -1: [TypeAccess] Y |
| 116 | +# 11| 6: [Annotation] Annot0j |
| 117 | +# 11| 1: [IntegerLiteral] 2 |
0 commit comments