@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public static @interface Messages.PluralCount
Example:
@DefaultMessage("You have {0} widgets.")
@AlternateMessage({"one", "You have one widget."})
String example(@PluralCount int count)
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends PluralRule> |
value
The PluralRule implementation to use for this message.
|
public abstract java.lang.Class<? extends PluralRule> value
PluralRule.class
is used as a default value here, which will
be replaced during code generation with the default implementation.