[
https://issues.apache.org/jira/browse/UIMA-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009003#comment-17009003
]
Marshall Schor commented on UIMA-6159:
--------------------------------------
Hmmm, in UIMA v3, I think the only actual supported implementations of Feature
Structures are instances of TOP.
So, I'm thinking we could add a method that takes AnnotationFS arg, and casts
it to TOP... ?
> select.startAt() cannot be called with AnnotationFS argument
> ------------------------------------------------------------
>
> Key: UIMA-6159
> URL: https://issues.apache.org/jira/browse/UIMA-6159
> Project: UIMA
> Issue Type: Improvement
> Components: UIMA
> Affects Versions: 3.1.1SDK
> Reporter: Richard Eckart de Castilho
> Priority: Major
>
> The method
> SelectFSs<T> startAt(TOP fs);
> Does not accept an `AnnotationFS` instance as argument because AnnotationFS
> does not extend TOP. However, the documentation clearly states that this
> method requires an AnnotationIndex and a "starting position", so I guess it
> only works for subtypes of AnnotationFS?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)