Annotation Type Messages.DefaultMessage

Enclosing interface:
Messages

@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface Messages.DefaultMessage
Default text to be used if no translation is found (and also used as the source for translation). Format should be that expected by MessageFormat.

Example:

   @DefaultMessage("Don''t panic - you have {0} widgets left")
   String example(int count)
 

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details