mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
constructors/A.java:
|
|
# 0| [CompilationUnit] A
|
|
# 3| 1: [Class] A
|
|
# 4| 3: [Constructor] A
|
|
# 4| 5: [BlockStmt] stmt
|
|
# 5| 0: [ThisConstructorInvocationStmt] this(...)
|
|
# 5| 0: [IntegerLiteral] 42
|
|
# 8| 4: [Constructor] A
|
|
#-----| 4: (Parameters)
|
|
# 8| 0: [Parameter] i
|
|
# 8| 0: [TypeAccess] int
|
|
# 8| 5: [BlockStmt] stmt
|
|
# 10| 5: [Method] main
|
|
# 10| 3: [TypeAccess] void
|
|
#-----| 4: (Parameters)
|
|
# 10| 0: [Parameter] args
|
|
# 10| 0: [ArrayTypeAccess] ...[]
|
|
# 10| 0: [TypeAccess] String
|
|
# 10| 5: [BlockStmt] stmt
|
|
# 11| 0: [ExprStmt] stmt
|
|
# 11| 0: [ClassInstanceExpr] new A(...)
|
|
# 11| -3: [TypeAccess] A
|
|
# 14| 6: [FieldDeclaration] String STATIC, ...;
|
|
# 14| -1: [TypeAccess] String
|
|
# 14| 0: [StringLiteral] "static string"
|
|
# 15| 7: [FieldDeclaration] String INSTANCE, ...;
|
|
# 15| -1: [TypeAccess] String
|
|
# 15| 0: [StringLiteral] "instance string"
|
|
# 17| 8: [BlockStmt] stmt
|
|
# 18| 0: [ExprStmt] stmt
|
|
# 18| 0: [MethodAccess] println(...)
|
|
# 18| -1: [VarAccess] System.out
|
|
# 18| -1: [TypeAccess] System
|
|
# 18| 0: [StringLiteral] "<obinit>"
|
|
# 21| 9: [BlockStmt] stmt
|
|
# 22| 0: [ExprStmt] stmt
|
|
# 22| 0: [MethodAccess] println(...)
|
|
# 22| -1: [VarAccess] System.out
|
|
# 22| -1: [TypeAccess] System
|
|
# 22| 0: [StringLiteral] "<clinit>"
|