Messages.AlternateMessage
instead@Retention(value=RUNTIME) @Target(value=METHOD) @Documented @Deprecated public static @interface Messages.PluralText
Example:
@DefaultMessage("You have {0} widgets.")
@PluralText({"one", "You have one widget.")
String example(@PluralCount int count)
public abstract String[] value
@DefaultMessage("{0} widgets")
@PluralText({"none", "No widgets", "one", "One widget"})
"other" must not be included in this array as it will map to the
DefaultMessage value.
Copyright © 2018. All rights reserved.