Autoformat

This commit is contained in:
Chris Smowton
2022-06-30 12:13:00 +01:00
parent b4124ac553
commit 466cf7573b

View File

@@ -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