We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3bafc7 commit 2070dafCopy full SHA for 2070daf
1 file changed
java/ql/lib/semmle/code/java/ControlFlowGraph.qll
@@ -84,7 +84,13 @@ private module Ast implements AstSig<Location> {
84
85
class DoStmt = J::DoStmt;
86
87
- class ForStmt = J::ForStmt;
+ final private class FinalForStmt = J::ForStmt;
88
+
89
+ class ForStmt extends FinalForStmt {
90
+ AstNode getInit(int index) { result = super.getInit(index) }
91
92
+ AstNode getUpdate(int index) { result = super.getUpdate(index) }
93
+ }
94
95
final private class FinalEnhancedForStmt = J::EnhancedForStmt;
96
0 commit comments