Merge pull request #2553 from github/koesie10/nested-name

Use `nestedName` for getting the name of an API
This commit is contained in:
Koen Vlaswinkel
2023-06-27 16:17:43 +02:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ class CallableMethod extends Method {
*/
string getApiName() {
result =
this.getDeclaringType().getPackage() + "." + this.getDeclaringType().getSourceDeclaration() +
this.getDeclaringType().getPackage() + "." + this.getDeclaringType().nestedName() +
"#" + this.getName() + paramsString(this)
}