/** * @id py/examples/method-call * @name Call to method * @description Finds calls to MyClass.methodName * @tags call * method */ import python private import LegacyPointsTo from AstNode call, PythonFunctionValue method where method.getQualifiedName() = "MyClass.methodName" and method.getACall().getNode() = call select call