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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    char
    The character to dump which indicates a multiline String.
  • Element Details

    • value

      char value
      The character to dump which indicates a multiline String. AnnotationConfig supports double quotes, '>' and '|', but if a custom configuration type is used, it may support other characters.
      Returns:
      character indicating multiline string
      Default:
      '\"'