Revert "Java: Fix external flow perofrmance with future optimiser."

This reverts commit be1d4c04f2.
This commit is contained in:
Benjamin Muskalla
2021-09-09 13:06:23 +02:00
parent eef044f4d0
commit c0e65e71b4

View File

@@ -616,21 +616,16 @@ private predicate elementSpec(
summaryModel(namespace, type, subtypes, name, signature, ext, _, _, _)
}
private predicate relevantCallable(Callable c) { elementSpec(_, _, _, c.getName(), _, _) }
private string paramsStringPart(Callable c, int i) {
relevantCallable(c) and
(
i = -1 and result = "("
i = -1 and result = "("
or
exists(int n, string p | c.getParameterType(n).getErasure().toString() = p |
i = 2 * n and result = p
or
exists(int n, string p | c.getParameterType(n).getErasure().toString() = p |
i = 2 * n and result = p
or
i = 2 * n - 1 and result = "," and n != 0
)
or
i = 2 * c.getNumberOfParameters() and result = ")"
i = 2 * n - 1 and result = "," and n != 0
)
or
i = 2 * c.getNumberOfParameters() and result = ")"
}
/**