Aspect Oriented Programming Scala

Good afternoon,

I am trying to implement an AOP paradigm in Scala. Could you kindly guide me on what is best to do please ?

Or is there any way how I could manipulate the class loader byte code in Scala please ?

Thanks a lot and good day :slight_smile:

AspectJ should work. If you don’t know how Scala identifiers are encoded in byte code, which is how you would call them from AspectJ/Java, you can decompile the Scala byte code using javap, CFR - yet another java decompiler. or similar tools.

2 Likes

Thanks a lot for your reply :slight_smile: