Brett Porter wrote:
no, sorry. The annotations are read from source files, not binaries.

It's possible to post process .class files with BCEL or ASM and add custom attributes to the classfile elements (fields, methods). AspectJ does that for one example. At runtime these attributes may be accessed reflectively by parsing the classfiles. Maybe it's kind of an overkill, but it could be fun :-) No, I am not volunteering :-)

R.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to