Java: Deprecate RefType.nestedName(), and add RefType.getNestedName()

This commit is contained in:
Ian Lynagh
2024-09-16 17:13:18 +01:00
parent e99d7db428
commit 41ed6e6695
13 changed files with 25 additions and 18 deletions

View File

@@ -101,7 +101,7 @@ string getShortNameIfPossible(Type t) {
getRootSourceDeclaration(t) = any(TestCase tc).getADesiredImport() and
exists(RefType replaced, string nestedName |
replaced = replaceTypeVariable(t).getSourceDeclaration() and
nestedName = replaced.nestedName().replaceAll("$", ".")
nestedName = replaced.getNestedName().replaceAll("$", ".")
|
if isImportable(getRootSourceDeclaration(t))
then result = nestedName