uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Enders <end...@averbis.de>
Subject Re: JCasGen omitting fully-qualified class name?
Date Wed, 23 Mar 2011 15:44:15 GMT
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

Mime
View raw message