mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Mass-rename MethodAccess -> MethodCall
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
import java
|
||||
|
||||
from MethodAccess call, Method method
|
||||
from MethodCall call, Method method
|
||||
where
|
||||
call.getMethod() = method and
|
||||
method.hasName("methodName") and
|
||||
|
||||
@@ -10,7 +10,7 @@ import java
|
||||
|
||||
from Method m, Method n
|
||||
where
|
||||
exists(MethodAccess ma | ma.getCaller() = m and ma.getCallee() = n) and
|
||||
exists(MethodAccess ma | ma.getCaller() = n and ma.getCallee() = m) and
|
||||
exists(MethodCall ma | ma.getCaller() = m and ma.getCallee() = n) and
|
||||
exists(MethodCall ma | ma.getCaller() = n and ma.getCallee() = m) and
|
||||
m != n
|
||||
select m, n
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
import java
|
||||
|
||||
from MethodAccess call, Method add
|
||||
from MethodCall call, Method add
|
||||
where
|
||||
call.getMethod().overrides*(add) and
|
||||
add.hasName("add") and
|
||||
|
||||
Reference in New Issue
Block a user