mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Autoformat
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import java
|
||||
|
||||
query predicate staticMembers(RefType declType, Member m, string kind) {
|
||||
|
||||
m.fromSource() and m.isStatic() and m.getDeclaringType() = declType and kind = m.getAPrimaryQlClass()
|
||||
|
||||
m.fromSource() and
|
||||
m.isStatic() and
|
||||
m.getDeclaringType() = declType and
|
||||
kind = m.getAPrimaryQlClass()
|
||||
}
|
||||
|
||||
from Call call, Callable callable, RefType declType, Expr qualifier, string callType
|
||||
where call.getCallee() = callable and
|
||||
declType = callable.getDeclaringType() and
|
||||
qualifier = call.getQualifier() and
|
||||
if callable.isStatic() then callType = "static" else callType = "instance"
|
||||
where
|
||||
call.getCallee() = callable and
|
||||
declType = callable.getDeclaringType() and
|
||||
qualifier = call.getQualifier() and
|
||||
if callable.isStatic() then callType = "static" else callType = "instance"
|
||||
select declType, call, qualifier, callType
|
||||
|
||||
Reference in New Issue
Block a user