protected AbstractTreePrinter printJavaDoc(JCTree element){
  String doc=getJavaDoc(element);
  if (!isBlank(doc)) {
    print("/**");
    println();
    print(" * ");
    print(join(doc.split("\n"),"\n * "));
    println();
    print(" */");
    println();
  }
  return this;
}

protected AbstractTreePrinter printJavaDoc ( JCTree element ) { String doc = getJavaDoc ( element ) ; if ( ! isBlank ( doc ) ) { print ( "/**" ) ; println ( ) ; print ( " * " ) ; print ( join ( doc . split ( "\n" ) , "\n * " ) ) ; println ( ) ; print ( " */" ) ; println ( ) ; } return this ; }
prints the javadoc attached to the given element if any .
