File tree Expand file tree Collapse file tree 7 files changed +9
-5
lines changed
java/ql/test/library-tests Expand file tree Collapse file tree 7 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ constants/Initializers.java:
8080# 8| -1: [TypeAccess] int
8181# 10| 6: [Constructor] Initializers
8282# 10| 5: [BlockStmt] { ... }
83+ # 10| 0: [SuperConstructorInvocationStmt] super(...)
8384# 12| 2: [ExprStmt] <Expr>;
8485# 12| 0: [AssignExpr] ...=...
8586# 12| 0: [VarAccess] IFIELD2
Original file line number Diff line number Diff line change 11| constructors/A.java:5:3:5:11 | this(...) |
2- | constructors/A.java:8:2 :8:2 | super(...) |
2+ | constructors/A.java:8:11 :8:11 | super(...) |
33| constructors/A.java:11:3:11:9 | new A(...) |
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ constructors/A.java:
1010# 8| 0: [Parameter] i
1111# 8| 0: [TypeAccess] int
1212# 8| 5: [BlockStmt] { ... }
13+ # 8| 0: [SuperConstructorInvocationStmt] super(...)
1314# 10| 5: [Method] main
1415# 10| 3: [TypeAccess] void
1516#-----| 4: (Parameters)
Original file line number Diff line number Diff line change 1- //semmle-extractor-options: --javac-args -source 25 -target 25 --enable-preview
1+ //semmle-extractor-options: --javac-args -source 25 -target 25
Original file line number Diff line number Diff line change 1+ unusedDiagnosticException
2+ | Test.java:16:1:16:95 | // Diagnostic Matches: In file Test.java:8:15 no end location for JCMethodInvocation : yield(x) |
Original file line number Diff line number Diff line change 1- //semmle-extractor-options: --javac-args --release 25 --enable-preview
1+ //semmle-extractor-options: --javac-args --release 25
Original file line number Diff line number Diff line change 11| TestThrow.java:7:10:7:18 | Entry | TestThrow.java:8:2:9:2 | { ... } |
22| TestThrow.java:7:10:7:18 | Normal Exit | TestThrow.java:7:10:7:18 | Exit |
3- | TestThrow.java:7:10:7:18 | super(...) | TestThrow.java:7:10:7:18 | Normal Exit |
4- | TestThrow.java:8:2:9:2 | { ... } | TestThrow.java:7:10:7:18 | super(...) |
3+ | TestThrow.java:8:2:8:2 | super(...) | TestThrow.java:7:10:7:18 | Normal Exit |
4+ | TestThrow.java:8:2:9:2 | { ... } | TestThrow.java:8:2:8:2 | super(...) |
55| TestThrow.java:11:15:11:21 | Entry | TestThrow.java:12:2:13:2 | { ... } |
66| TestThrow.java:11:15:11:21 | Normal Exit | TestThrow.java:11:15:11:21 | Exit |
77| TestThrow.java:12:2:13:2 | { ... } | TestThrow.java:11:15:11:21 | Normal Exit |
You can’t perform that action at this time.
0 commit comments