Java: Use getSourceDeclaration to handle generic types

This commit is contained in:
Koen Vlaswinkel
2023-06-29 11:49:16 +02:00
parent 51af03d2bc
commit 6806b8750d

View File

@@ -27,8 +27,9 @@ class ExternalApi extends Callable {
*/
string getApiName() {
result =
this.getDeclaringType().getPackage() + "." + this.getDeclaringType().nestedName() + "#" +
this.getName() + paramsString(this)
this.getDeclaringType().getPackage() + "." +
this.getDeclaringType().getSourceDeclaration().nestedName() + "#" + this.getName() +
paramsString(this)
}
private string getJarName() {