mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
325 B
Plaintext
14 lines
325 B
Plaintext
/**
|
|
* @name HasMethod
|
|
*/
|
|
|
|
import default
|
|
|
|
from RefType inheritor, Method method, RefType declarer
|
|
where
|
|
inheritor.hasMethod(method, declarer) and
|
|
inheritor.fromSource() and
|
|
declarer.hasName("Object") and
|
|
inheritor.getFile().toString() = "Inherit"
|
|
select inheritor.toString(), method.toString(), declarer.toString()
|