fix: use non obfuscated name to look up obfuscation (duh)

This commit is contained in:
zaaarf 2023-03-31 12:47:26 +02:00
parent d966e7a37b
commit 44cec29b1c
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -78,7 +78,7 @@ public class FieldContainer {
this.descriptor = descriptorFromElement(this.elem, env); this.descriptor = descriptorFromElement(this.elem, env);
} }
this.descriptorObf = mapper == null ? this.descriptor : mapper.obfuscateType(Type.getType(this.descriptor)).getDescriptor(); this.descriptorObf = mapper == null ? this.descriptor : mapper.obfuscateType(Type.getType(this.descriptor)).getDescriptor();
this.nameObf = findMemberName(parent.fqnObf, this.name, null, mapper); this.nameObf = findMemberName(parent.fqn, this.name, null, mapper);
} }
/** /**