You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe you could adapt it by returning a Function which returns a subclass of ClassWriter, which calls your transform at visitEnd and then uses a ClassReader initialized with the resultant class bytes to accept the passed-in ClassVisitor.
We need Hibernate ORM to apply its own bytecode transformation logic on the user's JPA model.
The API we have in ORM is this one:
while Shamrock expects a
Function<String, Function<ClassVisitor, ClassVisitor>> function
; I don't see an easy way to adapt to this.Would be nice to also expose the option to register a processor which works on plain byte[] rather than ASM class visitors?
The text was updated successfully, but these errors were encountered: