Module org.tquadrat.foundation.i18n
Package org.tquadrat.foundation.i18n
Annotation Interface MessagePrefix
@Retention(SOURCE)
@Target(FIELD)
@ClassVersion(sourceVersion="$Id: MessagePrefix.java 882 2021-02-27 19:01:25Z tquadrat $")
@API(status=STABLE,
since="0.1.0")
public @interface MessagePrefix
The annotation is used to mark a String constant that holds the message prefix for the generated messages. When the annotation processor finds more than one field with this annotation, the result is unpredictable.
If this annotation is not used, the constant "MSG" will be used instead.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: MessagePrefix.java 882 2021-02-27 19:01:25Z tquadrat $
- Since:
- 0.1.0