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 beb0902 commit 246a515Copy full SHA for 246a515
java/ql/lib/semmle/code/java/Expr.qll
@@ -1366,15 +1366,11 @@ class InstanceOfExpr extends Expr, @instanceofexpr {
1366
}
1367
1368
/**
1369
- * PREVIEW FEATURE in Java 14. Subject to removal in a future release.
1370
- *
1371
* Holds if this `instanceof` expression uses pattern matching.
1372
*/
1373
predicate isPattern() { exists(this.getLocalVariableDeclExpr()) }
1374
1375
1376
1377
1378
* Gets the local variable declaration of this `instanceof` expression if pattern matching is used.
1379
1380
LocalVariableDeclExpr getLocalVariableDeclExpr() { result.isNthChildOf(this, 0) }
0 commit comments