private boolean addAnnotationInfo ( int indent , Doc doc , AnnotationDesc [ ] descList , boolean lineBreak , Content htmltree ) { List < Content > annotations = getAnnotations ( indent , descList , lineBreak ) ; String sep = "" ; if ( annotations . isEmpty ( ) ) { return false ; } for ( Content annotation : annotations ) { htmltree . addContent ( sep ) ; htmltree . addContent ( annotation ) ; sep = " " ; } return true ; }
Adds the annotation types for the given doc .