2

Would it be possible to make a Java program which edits a function in a compiled class file by injecting new compiled code into it? Could you just insert the chunk of code as it is into the class?

Hop311
  • 33
  • 4

1 Answers1

0

Another way of doing it is using AspectJ (http://eclipse.org/aspectj/doc/next/progguide/starting.html)

zanfolim
  • 11
  • 3