File tree Expand file tree Collapse file tree 9 files changed +14
-9
lines changed
java/ql/test/library-tests Expand file tree Collapse file tree 9 files changed +14
-9
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 @@ -6,6 +6,7 @@ FlexibleConstructors.java:
66# 2| 0: [Parameter] msg
77# 2| 0: [TypeAccess] String
88# 2| 5: [BlockStmt] { ... }
9+ # 2| 0: [SuperConstructorInvocationStmt] super(...)
910# 3| 1: [ExprStmt] <Expr>;
1011# 3| 0: [MethodCall] println(...)
1112# 3| -1: [VarAccess] System.out
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 269269| TestLoopBranch.java:109:9:109:22 | <obinit>(...) | TestLoopBranch.java:111:3:111:10 | <Expr>; |
270270| TestLoopBranch.java:109:9:109:22 | Entry | TestLoopBranch.java:110:2:113:2 | { ... } |
271271| TestLoopBranch.java:109:9:109:22 | Normal Exit | TestLoopBranch.java:109:9:109:22 | Exit |
272- | TestLoopBranch.java:109:9:109:22 | super(...) | TestLoopBranch.java:109:9:109:22 | <Expr>; |
273- | TestLoopBranch.java:110:2:113:2 | { ... } | TestLoopBranch.java:109:9:109:22 | super(...) |
272+ | TestLoopBranch.java:110:2:110:2 | super(...) | TestLoopBranch.java:109:9:109:22 | <Expr>; |
273+ | TestLoopBranch.java:110:2:113:2 | { ... } | TestLoopBranch.java:110:2:110:2 | super(...) |
274274| TestLoopBranch.java:111:3:111:4 | xx | TestLoopBranch.java:111:8:111:9 | 33 |
275275| TestLoopBranch.java:111:3:111:9 | ...=... | TestLoopBranch.java:112:3:112:10 | <Expr>; |
276276| TestLoopBranch.java:111:3:111:10 | <Expr>; | TestLoopBranch.java:111:3:111:4 | xx |
283283| TestLoopBranch.java:115:9:115:22 | <obinit>(...) | TestLoopBranch.java:117:3:117:9 | <Expr>; |
284284| TestLoopBranch.java:115:9:115:22 | Entry | TestLoopBranch.java:116:2:119:2 | { ... } |
285285| TestLoopBranch.java:115:9:115:22 | Normal Exit | TestLoopBranch.java:115:9:115:22 | Exit |
286- | TestLoopBranch.java:115:9:115:22 | super(...) | TestLoopBranch.java:115:9:115:22 | <Expr>; |
287- | TestLoopBranch.java:116:2:119:2 | { ... } | TestLoopBranch.java:115:9:115:22 | super(...) |
286+ | TestLoopBranch.java:116:2:116:2 | super(...) | TestLoopBranch.java:115:9:115:22 | <Expr>; |
287+ | TestLoopBranch.java:116:2:119:2 | { ... } | TestLoopBranch.java:116:2:116:2 | super(...) |
288288| TestLoopBranch.java:117:3:117:4 | xx | TestLoopBranch.java:117:8:117:8 | i |
289289| TestLoopBranch.java:117:3:117:8 | ...=... | TestLoopBranch.java:118:3:118:9 | <Expr>; |
290290| TestLoopBranch.java:117:3:117:9 | <Expr>; | TestLoopBranch.java:117:3:117:4 | xx |
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