On 15. Nov 2019, at 17:59, Marshall Schor <m...@schor.com> wrote: > > I'm wondering how to arrange things so that for JCas class "x.y.z.Foo", > > you could have an associated class or interface that could make use of the
JCasGen could generate an interface "IMyAnnotation" which defines the accessors methods. The user could implement an interface "IMyAnnotationExtensions" which inherits from "IMyAnnotation" and defines additional (default) methods. The actual JCas class would have to implement both interfaces. -- Richard