cpgSignature

fun CallExpression.cpgSignature(vararg parameters: Any?, hasVarargs: Boolean = false): Result(source)

Checks if the CallExpression matches the signature specified with parameters. Returns false if there are nulls in parameters,

Parameters

parameters

specifies the order of the parameters of the function.

If a parameter is a Type object, the function will check if the argument has the same type.

If a parameter is a ParamWithType object, the function will check if the argument has the same type and if the Any object flows to the argument

hasVarargs

specifies if the function has a variable number of arguments at the end which are not important to the analysis