Annotation Type DefaultString
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface DefaultStringThis annotation provides a default value for the annotated method. Because of annotation limits, there is an annotation for:booleans,decimals,numericsandStrings.- Since:
- 4.2.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringvalueThe default value for the annotated method.
-
-
-
Element Detail
-
value
java.lang.String value
The default value for the annotated method.- Returns:
- the default value for the annotated method.
- Since:
- 4.2.0
- Default:
- ""
-
-