int startLine = position.getStartLine();
int endLine = position.getEndLine();
// Since this is only used for IDEs this is safe code, but there is an obvious abstraction issue here.
ISourcePosition commentIncludingPos =
new IDESourcePosition(fileName, startLine, endLine, startOffset, endOffset);
for (CommentNode comment: getComments()) {
commentIncludingPos =
IDESourcePosition.combinePosition(commentIncludingPos, comment.getPosition());
}