Annotation Type Messages.PluralText

Enclosing interface:
Messages

@Retention(RUNTIME) @Target(METHOD) @Documented @Deprecated public static @interface Messages.PluralText
Deprecated.
Provides multiple plural forms based on a count. The selection of which plural form to use is based on the value of the argument marked PluralCount, which may also specify an alternate plural rule to use.

Example:

   @DefaultMessage("You have {0} widgets.")
   @PluralText({"one", "You have one widget.")
   String example(@PluralCount int count)