uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-2147) Generate static fields for type names and feature names in JCas wrappers
Date Tue, 05 Sep 2017 17:03:00 GMT

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

Marshall Schor commented on UIMA-2147:
--------------------------------------

fixed in v3 under UIMA-4674, 11/3/16, change set 1767952.  Not (yet) fixed in v2

> Generate static fields for type names and feature names in JCas wrappers
> ------------------------------------------------------------------------
>
>                 Key: UIMA-2147
>                 URL: https://issues.apache.org/jira/browse/UIMA-2147
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.3.1SDK
>            Reporter: Richard Eckart de Castilho
>             Fix For: 3.0.0SDK-beta
>
>
> It would be convient if the JCas wrapper generator would create static final String fields
for feature names and for the type name, e.g.
> public static final String TYPE_NAME = "my.jcastypes.Type";
> public static final String FEAT_BEGIN = "begin";
> This would allow cleaner programming with JCas wrappers in cases where the names are
required. In particular it would allow to detect certain errors at compile-time and facilitate
refactoring.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message