Package com.jagrosh.jdautilities.doc
Annotation Interface DocMultiple
A helper
Annotation
, useful for
formatting multiple occurrences of the same CommandDoc annotation.
This is best coupled with usage of an @Repeatable
annotation and a similarly named holder annotation for multiple occurrences.
@Error
and @Errors
are an example of such practice.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionText that occurs before all occurrences of the annotation this is applied to.A prefix annotation appended to the front of each occurrence.A separator String applied in-between occurrences.
-
Element Details
-
preface
String prefaceText that occurs before all occurrences of the annotation this is applied to.
Default this is an empty String.- Returns:
- The preface text
- Default:
""
-
prefixEach
String prefixEachA prefix annotation appended to the front of each occurrence.
Default this is an empty string.- Returns:
- The prefix String.
- Default:
""
-
separateBy
String separateByA separator String applied in-between occurrences.
Default this is an empty string.- Returns:
- The separator String.
- Default:
""
-