$0 means "this". So maybe a right program is:
Note that the arguments are $1 and $2.
however if I don't then the javassist compiler complains that it cannot find the appropriate method. This is also true in methods as well as constructors.
This is because the type of $0 is not what you expected.
That might help. I'll have to try that. The documentation states that $0...$n are arguments, so I figured that $0 is the first arg. Perhaps someone can update the docs to explain this.
I see you misinterpreted the summary table of
special variables. I will update it to avoid such
Thank you for your suggestion.