Files
codeql/java/ql/test/kotlin/library-tests/methods/methods.ql
2022-05-10 19:51:04 +01:00

8 lines
334 B
Plaintext

import java
query predicate methods(Method m, string signature) { m.fromSource() and signature = m.getSignature() }
query predicate constructors(Constructor c, string signature) { c.fromSource() and signature = c.getSignature() }
query predicate extensions(ExtensionMethod m, Type t) { m.getExtendedType() = t and m.fromSource() }