Files
codeql/java/ql/test/kotlin/library-tests/companion_objects/companion_objects.ql
2022-05-12 22:37:06 +01:00

9 lines
234 B
Plaintext

import java
from ClassOrInterface c, CompanionObject cco, Field f
where
c.fromSource() and
cco = c.getCompanionObject() and
f = cco.getInstance()
select c, f, cco, f.getDeclaringType(), concat(f.getAModifier().toString(), ",")