How to add a new Annotation?


What should I do to add a new annotation ?


Create a new type and annotate it with @annotation()

for example

type Ann.Example {

applies to can be annotation apply to type or field ['type', 'field'])


See c3ShowType(C3.annotation.Annotation) for more information on how to write your own annotation type.

Related post: Documentation on annotations