Instead of basic wrapping I think now would be the time to do complete class overwriting, this is part of a larger initiative to clean up the BootstrappedElement hierarchy as that portion of the codebase is now the oldest and is pretty outdated.
A few things to keep in mind when designing the new system and structure: Bytebuddy should now be replacing the classes instead of generating a new wrapped class. This will allow us to change parameters on methods, inject logic into constructors, and all in all manage the classes registered to winry in a better way.
End goal of this refactor is to allow instanced event listeners because I believe those could be incredibly useful.
Instead of basic wrapping I think now would be the time to do complete class overwriting, this is part of a larger initiative to clean up the
BootstrappedElement
hierarchy as that portion of the codebase is now the oldest and is pretty outdated.A few things to keep in mind when designing the new system and structure: Bytebuddy should now be replacing the classes instead of generating a new wrapped class. This will allow us to change parameters on methods, inject logic into constructors, and all in all manage the classes registered to winry in a better way.
End goal of this refactor is to allow instanced event listeners because I believe those could be incredibly useful.