On 12 September 2013 13:56, Torsten Bergmann <[email protected]> wrote: > We can mark methods with pragmas and ask the pragma collector > to give the methods marked with it. > > Do we (already) have some kind of pragma like mechanism to annotate > classes? I mean a general mechanism that one can use to mark classes > with pragmas/settings/ ...? > > There are various scenarios where this might be useful: > - an ORM mapper would like to associate a persistence class with a table > name > - an NBExternalStructure subclass wrapping a structure can be annotated > with > the original struct name > - ... > > Why so complicated (e.g. pragmas) ? Just add one more inst var , like 'annotation' for Class object and you have it.
> Thx > T. > > > -- Best regards, Igor Stasenko.
