Mass-rename MethodAccess -> MethodCall

This commit is contained in:
Chris Smowton
2023-10-24 10:30:26 +01:00
committed by GitHub
parent a10731c591
commit f552a15aae
404 changed files with 1147 additions and 1138 deletions

View File

@@ -4,7 +4,7 @@ class StringConcat extends AddExpr {
StringConcat() { getType() instanceof TypeString }
}
from MethodAccess ma
from MethodCall ma
where
ma.getMethod().getName().matches("sparql%Query") and
ma.getArgument(0) instanceof StringConcat

View File

@@ -1,7 +1,7 @@
import java
import semmle.code.java.dataflow.DataFlow::DataFlow
from MethodAccess ma, StringConcat stringConcat
from MethodCall ma, StringConcat stringConcat
where
ma.getMethod().getName().matches("sparql%Query") and
localFlow(exprNode(stringConcat), exprNode(ma.getArgument(0)))

View File

@@ -1,6 +1,6 @@
import java
from Method m, MethodAccess ma
from Method m, MethodCall ma
where
m.getName().matches("sparql%Query") and
ma.getMethod() = m

View File

@@ -1,6 +1,6 @@
import java
from Method m, MethodAccess ma
from Method m, MethodCall ma
where
m.getName().matches("sparql%Query") and
ma.getMethod() = m and

View File

@@ -2,7 +2,7 @@ import java
predicate isStringConcat(AddExpr ae) { ae.getType() instanceof TypeString }
from Method m, MethodAccess ma
from Method m, MethodCall ma
where
m.getName().matches("sparql%Query") and
ma.getMethod() = m and