// fill the offset table
this.offsets = new int[count];
for (int i = 0, k = 0; i < nComments; i++) {
Object curr = this.commentList.get(i);
if (isLineComment(curr)) {
Comment comment = (Comment) curr;
this.offsets[k++] = comment.getStart()
+ comment.getLength();
}
}
} else {
this.offsets = EMPTY_INT_ARRAY;
}