int () { if (myCurrentFoldRegionIndex >= myRegions.length) { return Integer.MAX_VALUE; } int nextFoldingOffset = myRegions[myCurrentFoldRegionIndex].getStartOffset(); return nextFoldingOffset < myNextWrapOffset ? nextFoldingOffset : Integer.MAX_VALUE; }