Class DocumentationExtractor

    • Constructor Detail

      • DocumentationExtractor

        public DocumentationExtractor()
    • Method Detail

      • getDocumentation

        public 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). 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.