Marshall, thanks for your quick response.

> Can you provide more details on how you are seeing that Annotation in
this case
> is being translated to uima.tcas.Annotation, in your setup?

org.apache.uima.jcas.tcas.Annotation gets imported within Sentence.java:

"import org.apache.uima.jcas.tcas.Annotation;"

Sentence has a complex feature with rangeTypeName uima.tcas.Annotation
which probably leads to that import.

All occurences of "Annotation" in Sentence.java are without the package
name. Regardless wheter they are declared as
org.company.types.Annotation or uima.tcas.Annotation within the
typesystem. So in all cases the imported Annotation
org.apache.uima.jcas.tcas.Annotation is used  (as shown on hover in
eclipse).

Best regards, Frank

Reply via email to