|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredAnnoOverrider
Convenience implementation of AnnoOverrider to which you simply add annotations that should apply to given elements. Note that this is a fairly blunt instrunmennt - the annotations you specify are simply and unconditionally superimposed onto each element.
Nested Class Summary | |
---|---|
static class |
StoredAnnoOverrider.Factory
Static factory for StoredAnnoOverriders. |
Method Summary | |
---|---|
AnnoBeanSet |
findOrCreateStoredAnnoSetFor(ElementId id)
Returns an AnnoBeanSet from this StoredAnnoOverrider which applies to the given ElementId. |
Methods inherited from interface org.codehaus.annogen.override.AnnoOverrider |
---|
init, modifyAnnos |
Method Detail |
---|
AnnoBeanSet findOrCreateStoredAnnoSetFor(ElementId id)
Returns an AnnoBeanSet from this StoredAnnoOverrider which applies to the given ElementId. This will always create a new AnnoBeanSet unless findOrCreate... has been called previously for the given id on this instance of StoredAnnoOverrider.
Important: The AnnoBeanSet returned by this method will NOT contain any indigenous annotation information from the given element. The AnnoBeanSets returned here are ALWAYS EMPTY - it's up to you to fill them in.
If you need to be able to dynamically read indigenous values before making changes, then you must implement AnnoViewer directly yourself - StoredAnnoViewer is a simple extension and not designed to handle that sort of thing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |