mirror of
https://github.com/github/codeql.git
synced 2026-03-24 00:16:49 +01:00
10 lines
304 B
Plaintext
10 lines
304 B
Plaintext
import java
|
|
|
|
query predicate initBlocks(Method m) { m.hasName("<obinit>") }
|
|
|
|
query predicate initCall(MethodAccess ma) { ma.getMethod().hasName("<obinit>") }
|
|
|
|
query predicate initExpressions(Expr e, int i) {
|
|
exists(Method m | m.hasName("<obinit>") | e.getParent() = m.getBody() and i = e.getIndex())
|
|
}
|