mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Erase generics in typeAsModel
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user