mirror of
https://github.com/github/codeql.git
synced 2026-05-24 16:17:07 +02:00
Java: add ForStmt wrapper class
This commit is contained in:
@@ -84,7 +84,13 @@ private module Ast implements AstSig<Location> {
|
||||
|
||||
class DoStmt = J::DoStmt;
|
||||
|
||||
class ForStmt = J::ForStmt;
|
||||
final private class FinalForStmt = J::ForStmt;
|
||||
|
||||
class ForStmt extends FinalForStmt {
|
||||
AstNode getInit(int index) { result = super.getInit(index) }
|
||||
|
||||
AstNode getUpdate(int index) { result = super.getUpdate(index) }
|
||||
}
|
||||
|
||||
final private class FinalEnhancedForStmt = J::EnhancedForStmt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user