mirror of
https://github.com/github/codeql.git
synced 2026-03-02 05:43:54 +01:00
10 lines
322 B
Plaintext
10 lines
322 B
Plaintext
import java
|
|
|
|
from Variable v, CompileTimeConstantExpr init, RefType enclosing, int constant
|
|
where
|
|
v.getInitializer() = init and
|
|
init.getEnclosingCallable().getDeclaringType() = enclosing and
|
|
enclosing.hasQualifiedName("constants", ["Values", "Stringified"]) and
|
|
constant = init.getIntValue()
|
|
select init, constant
|