122 * @throws DocletException if there is a problem while building the documentation 123 */ 124 protected void buildAnnotationTypeRequiredMember(Content memberDetailsTree) 125 throws DocletException { 126 buildAnnotationTypeMember(memberDetailsTree); 127 } 128 129 /** 130 * Build the member documentation. 131 * 132 * @param memberDetailsTree the content tree to which the documentation will be added 133 * @throws DocletException if an error occurs 134 */ 135 protected void buildAnnotationTypeMember(Content memberDetailsTree) 136 throws DocletException { 137 if (writer == null) { 138 return; 139 } 140 if (hasMembersToDocument()) { 141 writer.addAnnotationDetailsMarker(memberDetailsTree); 142 Content annotationDetailsTreeHeader = writer.getAnnotationDetailsTreeHeader(typeElement); 143 Content detailsTree = writer.getMemberTreeHeader(); 144 145 for (Element member : members) { 146 currentMember = member; 147 Content annotationDocTree = writer.getAnnotationDocTreeHeader( 148 currentMember, detailsTree); 149 150 buildAnnotationTypeMemberChildren(annotationDocTree); 151 152 detailsTree.add(writer.getAnnotationDoc(annotationDocTree)); 153 } 154 memberDetailsTree.add(writer.getAnnotationDetails(annotationDetailsTreeHeader, detailsTree)); 155 } 156 } 157 158 protected void buildAnnotationTypeMemberChildren(Content annotationDocTree) { 159 buildSignature(annotationDocTree); 160 buildDeprecationInfo(annotationDocTree); 161 buildMemberComments(annotationDocTree); 162 buildTagInfo(annotationDocTree); 163 } 164 165 /** 166 * Build the signature. 167 * 168 * @param annotationDocTree the content tree to which the documentation will be added | 122 * @throws DocletException if there is a problem while building the documentation 123 */ 124 protected void buildAnnotationTypeRequiredMember(Content memberDetailsTree) 125 throws DocletException { 126 buildAnnotationTypeMember(memberDetailsTree); 127 } 128 129 /** 130 * Build the member documentation. 131 * 132 * @param memberDetailsTree the content tree to which the documentation will be added 133 * @throws DocletException if an error occurs 134 */ 135 protected void buildAnnotationTypeMember(Content memberDetailsTree) 136 throws DocletException { 137 if (writer == null) { 138 return; 139 } 140 if (hasMembersToDocument()) { 141 writer.addAnnotationDetailsMarker(memberDetailsTree); 142 Content annotationDetailsTreeHeader = writer.getAnnotationDetailsTreeHeader(); 143 Content detailsTree = writer.getMemberTreeHeader(); 144 145 for (Element member : members) { 146 currentMember = member; 147 Content annotationDocTree = writer.getAnnotationDocTreeHeader(currentMember); 148 149 buildAnnotationTypeMemberChildren(annotationDocTree); 150 151 detailsTree.add(writer.getAnnotationDoc(annotationDocTree)); 152 } 153 memberDetailsTree.add(writer.getAnnotationDetails(annotationDetailsTreeHeader, detailsTree)); 154 } 155 } 156 157 protected void buildAnnotationTypeMemberChildren(Content annotationDocTree) { 158 buildSignature(annotationDocTree); 159 buildDeprecationInfo(annotationDocTree); 160 buildMemberComments(annotationDocTree); 161 buildTagInfo(annotationDocTree); 162 } 163 164 /** 165 * Build the signature. 166 * 167 * @param annotationDocTree the content tree to which the documentation will be added |