From b4462eb6030f8e5a072ad4b6508d7a93d574522f Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Thu, 11 Nov 2021 15:06:54 +0100 Subject: Fix mixin @At target not considering mappings from parent classes When remapping the @At `target` argument, we used to only look at the mappings for the target class but we also need to consider mappings for its super classes and interfaces. This commit now searches for the target Psi method and then uses the regular remap method for PsiMethod to get its properly mapped name. --- src/test/java/b/pkg/B.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/java/b/pkg') diff --git a/src/test/java/b/pkg/B.java b/src/test/java/b/pkg/B.java index 3c71aae..6ed26c1 100644 --- a/src/test/java/b/pkg/B.java +++ b/src/test/java/b/pkg/B.java @@ -10,6 +10,7 @@ public class B extends BParent implements BInterface { } public void bMethod() { + bInterfaceMethod(); } public void bOverloaded() { -- cgit