I have seen some nice Java compiler hacks wherein you can replace assertions by throw-exception statements, you can have auto-generated properties for fields and so on...
I was just wondering...
Is it possible to hack Java compiler so that it supports Operator Overloading?
EDIT :
It's not that I am missing operator overloading in Java or something. I just want to know whether it is possible to implement it using the hacks mentioned in the links I have given above. So please do not suggest me to switch to some other language like Scala (which I am already learning anyway! :D ).
EDIT :
Please just tell me whether it is possible to do it using JSR 269 or something like that. :|
Thanks.