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

@@ -154,7 +154,7 @@ private string isExtensible(Callable c) {
private predicate qualifiedName(Callable c, string package, string type) {
exists(RefType t | t = c.getDeclaringType() |
package = t.getCompilationUnit().getPackage().getName() and
type = t.getErasure().(J::RefType).nestedName()
type = t.getErasure().(J::RefType).getNestedName()
)
}