We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93b4ed commit 348a186Copy full SHA for 348a186
java/ql/lib/semmle/code/java/Statement.qll
@@ -556,8 +556,11 @@ class ThrowStmt extends Stmt, @throwstmt {
556
override string getAPrimaryQlClass() { result = "ThrowStmt" }
557
}
558
559
+// Workaround to avoid having to make JumpStmt abstract
560
+private class JumpStmt_ = @breakstmt or @yieldstmt or @continuestmt;
561
+
562
/** A `break`, `yield` or `continue` statement. */
-abstract class JumpStmt extends Stmt {
563
+class JumpStmt extends Stmt, JumpStmt_ {
564
/**
565
* Gets the labeled statement that this `break` or
566
* `continue` statement refers to, if any.
0 commit comments