boolean (final TextRange range) { // we check with offset only one final Map.Entry<TextRange, MyAppliedData> entry = myTransformations.ceilingEntry(range); if (entry != null && entry.getKey().intersects(range)) { return false; } return true; }