Erase generics in typeAsModel

This commit is contained in:
Ed Minnix
2023-04-18 15:07:28 -04:00
parent 1f861fda25
commit 64ea4833d9

View File

@@ -104,7 +104,9 @@ private string isExtensible(J::RefType ref) {
}
private string typeAsModel(J::RefType type) {
result = type.getCompilationUnit().getPackage().getName() + ";" + type.nestedName()
result =
type.getCompilationUnit().getPackage().getName() + ";" +
type.getErasure().(J::RefType).nestedName()
}
private J::RefType bestTypeForModel(TargetApiSpecific api) {