Is it possible to change the code of a class programmatically?
I'm curious if it is possible to change the class method to another class?
I call a method of a system class to generate another class. But there is a bug/feature in a library class, so I need to tweak a bit the generated method, e.g. add additional parameter and change the line to "if" the parameter.
I hope to do this programmatically after class generation and change the code in a way I like.
What are the options?