Mixin
Mixin copied to clipboard
Preserve method static access for static Invokers
Before this commit, static modifier was dropped from generated method, resulting in wrong method being generated (no static modifier). However, bytecode was already fine, there is no aload_0, and variable offsets is ok.

TODO
Validate that targetMethod.access & ACC_STATIC == accessorMethod.access & ACC_STATIC (Can't find where in codebase i should add this check)
How did you manage to create 3 commits for such a simple change?