mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
17 lines
359 B
Plaintext
17 lines
359 B
Plaintext
/**
|
|
* @id java/examples/method-call
|
|
* @name Call to method
|
|
* @description Finds calls to com.example.Class.methodName
|
|
* @tags call
|
|
* method
|
|
*/
|
|
|
|
import java
|
|
|
|
from MethodCall call, Method method
|
|
where
|
|
call.getMethod() = method and
|
|
method.hasName("methodName") and
|
|
method.getDeclaringType().hasQualifiedName("com.example", "Class")
|
|
select call
|