I'm trying to get all comments (LineComments, BlockComments and
DocComments) appearing in a class.
It seems to be the only way to use 'CompilationUnit.getCommentList()'.
With this I get all comments but the LineComments and BlockComments are
without any content (all LineComments look like this '//'and all
BlockComments like this '/* */').
Checking the length using 'LineComment.getLength' returns numbers that let
suppose, there must be something. But 'LineComment.toString().length'
results in numbers that are much too small.
So has anyone an idea how I can get the contents of the comments?