[
https://issues.apache.org/jira/browse/UIMA-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on UIMA-2587 started by Richard Eckart de Castilho.
> @ConfigurationParameter - name should default to name of annotated field
> without class name
> -------------------------------------------------------------------------------------------
>
> Key: UIMA-2587
> URL: https://issues.apache.org/jira/browse/UIMA-2587
> Project: UIMA
> Issue Type: Improvement
> Components: uimafit
> Reporter: Richard Eckart de Castilho
> Assignee: Richard Eckart de Castilho
> Fix For: 2.0.0uimaFIT
>
>
> Currently the name of an annotated field defaults to classname + "." + field.
> It should only default to "field".
> My code is littered with lines like:
> {code}
> public static final String PARAM_SOME_PARAMETER = "someParameter";
> @ConfigurationParameter(name = PARAM_SOME_PARAMETER)
> private String someParameter;
> {code}
> It would be nice to be able write something like:
> {code}
> @ConfigurationParameter
> private String someParameter;
> AnalysisEngine ae = createPrimitive(MyAE.class, "someParameter", "someValue");
> {code}
> More discussion on Google Code:
> https://code.google.com/p/uimafit/issues/detail?id=70
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira