posted 17 years ago
Hello,
I am trying to understand how annotations work. I am having a look at the following annotation:
This means that myMethod from sub class overrides myMethod from super class. If I change the method name I get a compiler eror. So far so good.
Now I tried to have a look at the "override" annotation type source and expected to find some complicated introspection code that would have been used in order to check if myMethod from sub class indeed overrode the method from super class and to my dismay only found this:
So my question is how does it all work? Where is all the code?
Thanks in advance,
Julien.