mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
import java
|
|
|
|
from Method m, string s
|
|
where m.fromSource() and m.hasModifier(s)
|
|
select m, s
|
|
|
|
query predicate isPublic(Method m) { m.fromSource() and m.isPublic() }
|
|
|
|
query predicate isInternal(Method m) { m.fromSource() and m.isInternal() }
|
|
|
|
query predicate modifiers_methods(Modifier mo, Method me) {
|
|
mo.getElement() = me and me.fromSource()
|
|
}
|