Replies: 3 comments
-
Hello, @sirinath |
Beta Was this translation helpful? Give feedback.
-
Using 2 different bytecode manipulation libraries are not convenient. So for ActiveCodegen to be useful it may need to gain some parity with other frameworks out there like:
As for the use cases I have are:
|
Beta Was this translation helpful? Give feedback.
-
ActiveCodegen was designed for a completely different purpose - as a tool for generating new classes. If you need to transform classes, you should probably use a library suited for that task. We currently do not see a need to add class instrumentation to ActiveCodegen. Or, alternatively, you can use ActiveCodegen to generate subclasses for specified classes - if that suits your goals, of course. |
Beta Was this translation helpful? Give feedback.
-
Can we have the ability to instrument existing classes? e.g.
Introduce a field
a
and initialise it with constructor taking anint
and call its methodx
in methodf
followed by the original implementation off
.Instrumentation can happen at:
To find what classes to instrument one can use something like ClassGraph
Beta Was this translation helpful? Give feedback.
All reactions