AP resolves method mappings in superclasses when direct mapping fails

This commit is contained in:
Mumfrey committed 2017-08-09 18:08:22 +01:00
1 parent f1f60c3ee8
commit d8c4f6f0a7
10 files changed
+269 -50

No files matched your search

@@ -100,7 +100,7 @@ class AnnotatedMixinElementHandlerOverwrite extends AnnotatedMixinElementHandler
}
private boolean registerOverwriteForTarget(AnnotatedElementOverwrite elem, TypeHandle target) {
MappingMethod targetMethod = new MappingMethod(target.getName(), elem.getSimpleName(), elem.getDesc());
MappingMethod targetMethod = target.getMappingMethod(elem.getSimpleName(), elem.getDesc());
ObfuscationData<MappingMethod> obfData = this.obf.getDataProvider().getObfMethod(targetMethod);
if (obfData.isEmpty()) {