public ArrayList<LineFragment> getFragments() {
return myLineFragments;
}
static TextDiffTypeEnum getType(DiffFragment fragment) {
TextDiffTypeEnum type;
if (fragment.getText1() == null) type = TextDiffTypeEnum.INSERT;
else if (fragment.getText2() == null) type = TextDiffTypeEnum.DELETED;
else if (fragment.isModified()) type = TextDiffTypeEnum.CHANGED;
else type = null;
return type;