uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-3354) Preserve custom interface declarations on JCas classes
Date Tue, 07 Jan 2014 19:13:53 GMT

    [ 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:

 * @generated
public class MyAnnotationType 
    extends Annotation implements MyInterface

> 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

View raw message