mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Java: restrict test to source classes
This commit is contained in:
@@ -2,6 +2,7 @@ import java
|
||||
|
||||
from Record r, boolean isFinal, boolean isStatic, string superTypes
|
||||
where
|
||||
r.fromSource() and
|
||||
(if r.isFinal() then isFinal = true else isFinal = false) and
|
||||
(if r.isStatic() then isStatic = true else isStatic = false) and
|
||||
superTypes = concat(RefType superType | superType = r.getASupertype() | superType.toString(), ",")
|
||||
|
||||
Reference in New Issue
Block a user