It sounds like you would need to modify the code that currently processes the annotation. Read the annotation, then check for a property that might override it, and use one or the other to do... whatever you were going to do with the annotation in the first place. Does that help?
If you can't alter the code that processes the annotations, you might instead use some sort of bytecode engineering like BCEL or ASM to alter the .class file before it's loaded, changing the annotation. That's somewhat more complicated though, so I prefer the first option if possible. [ June 17, 2007: Message edited by: Jim Yingst ]
"I'm not back." - Bill Harding, Twister
subject: Avoiding hard-coded annotations such as below: