Files
codeql/java/ql/test/library-tests/structure/HasObjectMethod.ql
2018-08-30 10:48:05 +01:00

10 lines
316 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()