forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPrintAst.expected
More file actions
49 lines (49 loc) · 2.09 KB
/
PrintAst.expected
File metadata and controls
49 lines (49 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
reflection/ReflectiveAccess.java:
# 0| [CompilationUnit] ReflectiveAccess
#-----| -1: (Imports)
# 3| 1: [ImportType] import Annotation
# 5| 1: [Class] ReflectiveAccess
# 6| 2: [Interface] TestAnnotation
# 10| 3: [Class] TestClass
#-----| -3: (Annotations)
# 9| 1: [Annotation] TestAnnotation
# 13| 4: [Method] getAnnotation
#-----| 2: (Generic Parameters)
# 13| 0: [TypeVariable] A
# 13| 0: [TypeAccess] Annotation
# 13| 3: [TypeAccess] A
#-----| 4: (Parameters)
# 13| 0: [Parameter] classContainingAnnotation
# 13| 0: [TypeAccess] Class<?>
# 13| 0: [WildcardTypeAccess] ? ...
# 13| 1: [Parameter] annotationClass
# 13| 0: [TypeAccess] Class<A>
# 13| 0: [TypeAccess] A
# 13| 5: [BlockStmt] stmt
# 14| 0: [ReturnStmt] stmt
# 14| 0: [MethodAccess] getAnnotation(...)
# 14| -1: [VarAccess] classContainingAnnotation
# 14| 0: [VarAccess] annotationClass
# 17| 5: [Method] main
# 17| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 17| 0: [Parameter] args
# 17| 0: [ArrayTypeAccess] ...[]
# 17| 0: [TypeAccess] String
# 17| 5: [BlockStmt] stmt
# 18| 0: [LocalVariableDeclStmt] stmt
# 18| 0: [TypeAccess] Class<?>
# 18| 0: [WildcardTypeAccess] ? ...
# 18| 1: [LocalVariableDeclExpr] testClass
# 18| 0: [MethodAccess] forName(...)
# 18| -1: [TypeAccess] Class<>
# 18| 0: [StringLiteral] "reflection.ReflectiveAccess$TestClass"
# 20| 1: [ExprStmt] stmt
# 20| 0: [MethodAccess] newInstance(...)
# 20| -1: [VarAccess] testClass
# 22| 2: [ExprStmt] stmt
# 22| 0: [MethodAccess] getAnnotation(...)
# 22| 0: [TypeLiteral] TestClass.class
# 22| 0: [TypeAccess] TestClass
# 22| 1: [TypeLiteral] TestAnnotation.class
# 22| 0: [TypeAccess] TestAnnotation