mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
WIP: extract annotations on classes, with constant values
This commit is contained in:
committed by
Chris Smowton
parent
9fa840106f
commit
7b075c2190
@@ -249,7 +249,7 @@ private predicate filteredAnnotValue(Annotation a, Method m, Expr val) {
|
||||
|
||||
private predicate sourceAnnotValue(Annotation a, Method m, Expr val) {
|
||||
annotValue(a, m, val) and
|
||||
val.getFile().getExtension() = "java"
|
||||
val.getFile().isSourceFile()
|
||||
}
|
||||
|
||||
/** An abstract representation of language elements that can be annotated. */
|
||||
|
||||
Reference in New Issue
Block a user