Skip to content

Commit 662cff8

Browse files
committed
Java 14: add class Record to Type.qll
1 parent e1787f5 commit 662cff8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

java/ql/src/semmle/code/java/Type.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,11 @@ class Class extends RefType, @class {
615615
}
616616
}
617617

618+
/** A record declaration. */
619+
class Record extends Class {
620+
Record() { isRecord(this) }
621+
}
622+
618623
/** An intersection type. */
619624
class IntersectionType extends RefType, @class {
620625
IntersectionType() {

0 commit comments

Comments
 (0)