@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Name
The name must be a valid identifiers in the Java language (for example,
"com.example.MyEvent" for an event class or "message" for an
event field).
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
Returns the name.
|