void (final XCompositeNode node, final @NotNull XValueChildrenList values) { if (myContainer && isLargeCollection()) { if (myOffset + Math.min(values.size(), MAX_ITEMS_TO_HANDLE) >= myCollectionLength) { myOffset = myCollectionLength; } else { node.tooManyChildren(myCollectionLength - Math.min(values.size(), MAX_ITEMS_TO_HANDLE) - myOffset); myOffset += Math.min(values.size(), MAX_ITEMS_TO_HANDLE); } } }