Annotation Type Multiline
Annotation which tells AnnotationConfig that the field it is annotated on should be written as a
multiline
String
. This annotation can only be applied on Fields
with type String
.
If the String
does not contain a '\n' character, it will be dumped as a regular
String
.
If the configuration type AnnotationConfig is dumping to, the String
will be dumped
just as a regular String
.
- Since:
- 2.1.0
- Author:
- MrIvanPlays
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionchar
The character to dump which indicates a multilineString
.
-
Element Details
-
value
char valueThe character to dump which indicates a multilineString
. AnnotationConfig supports double quotes, '>' and '|', but if a custom configuration type is used, it may support other characters.- Returns:
- character indicating multiline string
- Default:
- '\"'
-