Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently the name of an annotated field defaults to classname + "." + field. It should only default to "field".
My code is littered with lines like:
public static final String PARAM_SOME_PARAMETER = "someParameter"; @ConfigurationParameter(name = PARAM_SOME_PARAMETER) private String someParameter;
It would be nice to be able write something like:
@ConfigurationParameter private String someParameter; AnalysisEngine ae = createPrimitive(MyAE.class, "someParameter", "someValue");
More discussion on Google Code: https://code.google.com/p/uimafit/issues/detail?id=70