private void analyzeDocumentation(JavaAnnotatedElement javaElement, Concept concept) { // Copy the text of the documentation (without the doclet tags): String javaComment = javaElement.getComment(); if (javaComment != null) { javaComment = javaComment.trim(); if (!javaComment.isEmpty()) { concept.setDoc(javaComment); } } // Make annotations for the javadoc tags: javaElement.getTags().stream().forEach(docTag -> { this.analyzeDocletTag(docTag, concept); }); }