CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds calls to MyClass.methodName

import python

from AstNode call, PythonFunctionValue method
where
  method.getQualifiedName() = "MyClass.methodName" and
  method.getACall().getNode() = call
select call