diff options
author | Jonas Herzig <jonas@spark-squared.com> | 2021-11-10 18:21:25 +0100 |
---|---|---|
committer | Jonas Herzig <jonas@spark-squared.com> | 2021-11-10 20:32:40 +0100 |
commit | 6883c516e73f55062f27a5f98e306149896c4907 (patch) | |
tree | dd1b490c0b2412a4eb1500d0f9274183cb789278 /src/test/java/a | |
parent | 1b12b4c25a10978a83713e28748a12a41d7591b8 (diff) | |
download | Remap-6883c516e73f55062f27a5f98e306149896c4907.tar.gz Remap-6883c516e73f55062f27a5f98e306149896c4907.tar.bz2 Remap-6883c516e73f55062f27a5f98e306149896c4907.zip |
Fix mixin injectors not considering mappings from parent classes
When remapping the injector target argument (`method`), we used to only look at
the mappings for the mixin 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.
It still only looks at the target class mappings to determine whether the new
name is ambiguous because we do not have access to the remapped target class
hierarchy.
Diffstat (limited to 'src/test/java/a')
0 files changed, 0 insertions, 0 deletions