Skip to content

Commit 8f985e0

Browse files
committed
Java: restrict test to source classes
1 parent 0510b0c commit 8f985e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/test/library-tests/types/record-classes/RecordClasses.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import java
22

33
from Record r, boolean isFinal, boolean isStatic, string superTypes
44
where
5+
r.fromSource() and
56
(if r.isFinal() then isFinal = true else isFinal = false) and
67
(if r.isStatic() then isStatic = true else isStatic = false) and
78
superTypes = concat(RefType superType | superType = r.getASupertype() | superType.toString(), ",")

0 commit comments

Comments
 (0)