// re-grab the compilation unit + node so we can get the javadoc node w/
// its position and length set.
cu = ASTUtils.getCompilationUnit(src, true);
node = ASTUtils.findNode(cu, offset, element);
Javadoc javadoc = (node instanceof PackageDeclaration) ?
((PackageDeclaration)node).getJavadoc() :
((BodyDeclaration)node).getJavadoc();
JavaUtils.format(
src, CodeFormatter.K_COMPILATION_UNIT,
javadoc.getStartPosition(), javadoc.getLength());
}
return null;
}