aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/mappings.py
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/lib/mappings.py')
-rwxr-xr-xcodegen/lib/mappings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/codegen/lib/mappings.py b/codegen/lib/mappings.py
index 7cbb863a..22624fac 100755
--- a/codegen/lib/mappings.py
+++ b/codegen/lib/mappings.py
@@ -68,6 +68,13 @@ class Mappings:
return self.fields.get(obfuscated_class_name, {}).get(obfuscated_field_name)
def get_class(self, obfuscated_class_name):
+ if '<' in obfuscated_class_name:
+ first_part, args = obfuscated_class_name.split('<')
+ args = args.rstrip('>').strip(';').split(';')
+ print(args)
+ assert len(args) == 1
+ arg = self.get_class(args[0][1:])
+ return f'{first_part}<{arg}>'
return self.classes[obfuscated_class_name]
def get_method(self, obfuscated_class_name, obfuscated_method_name, obfuscated_signature):