void (@NotNull Context<E> context, @NotNull E entry, @NotNull NewSectionInfo<E> newSectionsInfo, @NotNull ArrangementEntryWrapper<E> arrangedWrapper, @NotNull ArrangementEntryWrapper<E> initialWrapper, @Nullable ArrangementEntryWrapper<E> parent) { final int beforeOffset = arrangedWrapper.equals(initialWrapper) ? arrangedWrapper.getStartOffset() : initialWrapper.getStartOffset(); final int length = arrangedWrapper.getEndOffset() - arrangedWrapper.getStartOffset(); int afterOffset = arrangedWrapper.equals(initialWrapper) ? arrangedWrapper.getEndOffset() : beforeOffset + length; insertSection(context, entry, newSectionsInfo, parent, beforeOffset, afterOffset); }