UnifiedDiffChange (int blockStart, int insertedStart, int blockEnd, int fragmentIndex) { LineFragment fragment = myFragments.get(fragmentIndex); LineFragmentData data = myFragmentsData.get(fragmentIndex); boolean isSkipped = data.isSkipped(); boolean isExcluded = data.isExcluded(myAllowExcludeChangesFromCommit); return new MyUnifiedDiffChange(blockStart, insertedStart, blockEnd, fragment, isExcluded, isSkipped, data.getChangelistId(), data.isPartiallyExcluded(), data.getExclusionState()); }