public final class DocumentationExtractor extends Object
| Constructor and Description |
|---|
DocumentationExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDocumentation(ProtoDoc[] annotations)
Collect and concatenate the description text from the
@ProtoDoc.value of the given ProtoDoc annotations
(that were previously obtained either from an AnnotatedElement or an AnnotatedConstruct). |
public static String getDocumentation(ProtoDoc[] annotations)
@ProtoDoc.value of the given ProtoDoc annotations
(that were previously obtained either from an AnnotatedElement or an AnnotatedConstruct). Each annotation value is
put on a separate line. The beginning and trailing empty lines are trimmed off. If the resulting documentation
text does not have any line then null is returned.Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.