|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Message
An annotation that may be attached to any method that returns a String. Acts as a wrapper around
Messages
, converting any parameters into message arguments.
In many cases, the message key will be deduced from the method name (if not provided):
Optional Element Summary | |
---|---|
String |
value
The message key to use. |
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |