OrnitheMC / calamus

Mappings to bridge the gap between ProGuard mappings and named mappings
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

Improve method mappings, particularly for specialized methods #2

Open SpaceWalkerRS opened 1 month ago

SpaceWalkerRS commented 1 month ago

1) Some methods inherited from libraries or the JDK, and while the synthetic bridge methods are not obfuscated, the specialized methods are. Rather than giving these methods intermediary names, these methods should inherit the name from their bridge counterpart.

2) The same should happen for MC's own methods. This makes method inheritance clearer as all methods in the entire inheritance chain will have the same name. This will require an update the Mapping Utils' Propagator though, as it assumes intermediary names are entirely unique within a class.

zeichenreihe commented 1 month ago

100% agree, the specialized/bridge methods need better handeling.