CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (changelog, source)

Member predicate Method::getSignature

Gets the signature of this callable, where all types in the signature have a fully-qualified name. The parameter types are only separated by a comma (without space). If this callable has no parameters, the callable name is followed by ().

For example, method void m(String s, int i) has the signature m(java.lang.String,int).

string getSignature()