Re: Annotation Attributes
"Dave Brosius" <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <00d301c509a2$454e2bb0$b17596d1@MBFG> |
----- Original Message ----- From: "Simon Kitching" <[email protected]> > Well, the other question we need to ask is: will there be other types of > annotation in future (Transparent, Foggy, ???). If so, then subclasses > are better than a boolean. Well, there is one more type, that is RetentionPolicy.SOURCE Of course, this means that these types of annotations are stripped by the compiler, and so bcel never sees them. I suppose if i start with one class, it wouldn't be that hard to add derivation in the future.