[ 
https://issues.apache.org/jira/browse/UIMA-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864573#comment-13864573
 ] 

Richard Eckart de Castilho commented on UIMA-3354:
--------------------------------------------------

Try adding an interface to the actual type class. Consider this:

{noformat}
…snip...
 * @generated
 */
public class MyAnnotationType 
    extends Annotation implements MyInterface
{
…snip...
{noformat}



> Preserve custom interface declarations on JCas classes
> ------------------------------------------------------
>
>                 Key: UIMA-3354
>                 URL: https://issues.apache.org/jira/browse/UIMA-3354
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Richard Eckart de Castilho
>            Priority: Minor
>
> It is possible to customize the code of generated JCas classes, e.g. to add 
> new methods, and these customizations are preserved when the JCas classes are 
> regenerated. However, if custom interfaces are added to the class, these are 
> removed. It would be nice if custom interfaces were preserved, as this opens 
> up additional possibilities of working with JCas classes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to